Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 100.9 kB / 15.98 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 197.3 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 205.1 MB / 222.8 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3521/0.3521, allocations: 43.5 MB / 313.6 MB, free: 8.551 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 67.91 kB / 382.3 MB, free: 8.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1224, allocations: 57.78 MB / 440.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.2776/0.4001, allocations: 30.06 MB / 470.2 MB, free: 33.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01345/0.4136, allocations: 6.692 MB / 476.9 MB, free: 29.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006617/0.4202, allocations: 117.5 kB / 477 MB, free: 29.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002622/0.4229, allocations: 1.24 MB / 478.2 MB, free: 29.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004144/0.4271, allocations: 1.678 MB / 479.9 MB, free: 28.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008959/0.428, allocations: 401.7 kB / 480.3 MB, free: 28.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004334/0.4324, allocations: 3.667 MB / 483.9 MB, free: 26.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002372/0.4347, allocations: 2.14 MB / 486.1 MB, free: 26.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001538/0.4363, allocations: 1.241 MB / 487.3 MB, free: 25.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001819/0.4381, allocations: 1.943 MB / 489.3 MB, free: 24.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004196/0.4386, allocations: 246.7 kB / 489.5 MB, free: 24.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001643/0.4402, allocations: 0.833 MB / 490.3 MB, free: 24.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001522/0.4417, allocations: 1.651 MB / 492 MB, free: 24.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001851/0.4436, allocations: 1.957 MB / 494 MB, free: 22.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009309/0.4529, allocations: 6.012 MB / 500 MB, free: 20.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.453, allocations: 0 / 500 MB, free: 20.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.453, allocations: 3.938 kB / 500 MB, free: 20.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002548/0.4532, allocations: 1.188 kB / 500 MB, free: 20.54 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.01147/0.4647, allocations: 4.167 MB / 0.4923 GB, free: 18.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/0.4648, allocations: 13.81 kB / 0.4923 GB, free: 18.07 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001661/0.4665, allocations: 0.7242 MB / 0.493 GB, free: 17.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01141/0.4779, allocations: 3.084 MB / 0.4961 GB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006539/0.4845, allocations: 2.378 MB / 0.4984 GB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002461/0.4847, allocations: 192.5 kB / 0.4986 GB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001118/0.4859, allocations: 260.8 kB / 0.4988 GB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02069/0.5066, allocations: 10.39 MB / 0.509 GB, free: 9.914 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001296/0.5067, allocations: 27.25 kB / 0.509 GB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006948/0.5074, allocations: 115.8 kB / 0.5091 GB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003984/0.5114, allocations: 2.564 MB / 0.5116 GB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01934/0.5308, allocations: 9.455 MB / 0.5208 GB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06375/0.5946, allocations: 32.47 MB / 0.5525 GB, free: 12.74 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006993/0.6016, allocations: 3.376 MB / 0.5558 GB, free: 9.125 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002074/0.6038, allocations: 1.082 MB / 0.5569 GB, free: 8.043 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001308/0.6051, allocations: 1.313 MB / 0.5582 GB, free: 6.512 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/0.6052, allocations: 47.88 kB / 0.5582 GB, free: 6.457 MB / 430.1 MB Notification: Performance of pre-optimization done (n=187): time 6.122e-06/0.6052, allocations: 4 kB / 0.5582 GB, free: 6.453 MB / 430.1 MB Notification: Performance of matching and sorting (n=193): time 0.02445/0.6296, allocations: 9.812 MB / 0.5678 GB, free: 12.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.664e-05/0.6298, allocations: 90.42 kB / 0.5679 GB, free: 12.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005641/0.6354, allocations: 2.681 MB / 0.5705 GB, free: 9.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002879/0.6357, allocations: 49.7 kB / 0.5706 GB, free: 9.676 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002297/0.6381, allocations: 2.747 MB / 0.5732 GB, free: 6.887 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001075/0.6391, allocations: 0.7171 MB / 0.5739 GB, free: 6.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002275/0.6414, allocations: 0.9688 MB / 0.5749 GB, free: 5.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.6416, allocations: 305.1 kB / 0.5752 GB, free: 4.879 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002851/0.6444, allocations: 1.559 MB / 0.5767 GB, free: 3.312 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00498/0.6494, allocations: 4.465 MB / 0.5811 GB, free: 13.4 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008608/0.658, allocations: 6.679 MB / 0.5876 GB, free: 5.285 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001084/0.6582, allocations: 36 kB / 0.5876 GB, free: 5.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=657) (initialization): time 0.01639/0.6746, allocations: 5.933 MB / 0.5934 GB, free: 15.3 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001692/0.6748, allocations: 51.94 kB / 0.5935 GB, free: 15.25 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002107/0.675, allocations: 100 kB / 0.5936 GB, free: 15.15 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005707/0.6756, allocations: 181.5 kB / 0.5937 GB, free: 14.97 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005566/0.6812, allocations: 1.096 MB / 0.5948 GB, free: 13.88 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002375/0.6836, allocations: 1.792 MB / 0.5965 GB, free: 11.94 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005352/0.689, allocations: 215.9 kB / 0.5968 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000935/0.69, allocations: 307.9 kB / 0.597 GB, free: 11.43 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 27 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (605): * Single equations (assignments): 598 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004686/0.6947, allocations: 2.032 MB / 0.599 GB, free: 9.387 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006143/0.6953, allocations: 248.7 kB / 0.5993 GB, free: 9.141 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005913/0.7012, allocations: 2.542 MB / 0.6018 GB, free: 6.574 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.647e-05/0.7013, allocations: 27.97 kB / 0.6018 GB, free: 6.547 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/0.7013, allocations: 4 kB / 0.6018 GB, free: 6.543 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.724e-05/0.7014, allocations: 11.97 kB / 0.6018 GB, free: 6.531 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02547/0.7268, allocations: 8.168 MB / 0.6098 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.532e-05/0.7269, allocations: 8 kB / 0.6098 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001641/0.7286, allocations: 255.6 kB / 0.61 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002506/0.7288, allocations: 56.77 kB / 0.6101 GB, free: 13.85 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002429/0.7291, allocations: 40 kB / 0.6101 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002206/0.7313, allocations: 1.637 MB / 0.6117 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-05/0.7314, allocations: 19.92 kB / 0.6117 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008704/0.7401, allocations: 4.054 MB / 0.6157 GB, free: 7.801 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001829/0.7419, allocations: 0.4978 MB / 0.6162 GB, free: 7.281 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008669/0.7428, allocations: 39.98 kB / 0.6162 GB, free: 7.242 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001704/0.7446, allocations: 51.95 kB / 0.6163 GB, free: 7.191 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003614/0.7449, allocations: 124.6 kB / 0.6164 GB, free: 7.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001997/0.7452, allocations: 63.98 kB / 0.6164 GB, free: 7.008 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005168/0.7503, allocations: 1.644 MB / 0.618 GB, free: 5.355 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.7504, allocations: 0 / 0.618 GB, free: 5.355 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005881/0.7562, allocations: 0.8164 MB / 0.6188 GB, free: 4.539 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (141): * Single equations (assignments): 134 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006535/0.7628, allocations: 4.733 MB / 0.6235 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01005/0.7729, allocations: 5.541 MB / 0.6289 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.34e-05/0.7729, allocations: 3.938 kB / 0.6289 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001961/0.7749, allocations: 1.241 MB / 0.6301 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003137/0.778, allocations: 334.2 kB / 0.6304 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2723/1.05, allocations: 38.63 MB / 0.6681 GB, free: 141.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00334/1.054, allocations: 3.195 MB / 0.6713 GB, free: 140.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004764/1.059, allocations: 1.738 MB / 0.673 GB, free: 140.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002548/1.061, allocations: 1.745 MB / 0.6747 GB, free: 139 MB / 0.4981 GB Notification: Performance of SimCode: time 2.344e-06/1.061, allocations: 0 / 0.6747 GB, free: 139 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1015/1.163, allocations: 49 MB / 0.7225 GB, free: 107.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001653/1.163, allocations: 211.7 kB / 0.7227 GB, free: 107.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.681/4.844, allocations: 4.062 kB / 0.7227 GB, free: 107.5 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches