Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization",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.001718/0.001718, allocations: 106.9 kB / 16.41 MB, free: 6.48 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.001793/0.001793, allocations: 189.5 kB / 17.34 MB, free: 5.754 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.38/1.38, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2177/0.2177, allocations: 43.52 MB / 314.1 MB, free: 464 kB / 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.001463/0.001463, allocations: 71.89 kB / 441.3 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1061, allocations: 57.79 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01121/0.1173, allocations: 10.27 MB / 0.4974 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008097/0.1255, allocations: 3.788 MB / 0.5011 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001959/0.1275, allocations: 59.81 kB / 0.5012 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004135/0.1317, allocations: 1.95 MB / 0.5031 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004554/0.1363, allocations: 1.654 MB / 0.5047 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001643/0.138, allocations: 0.6121 MB / 0.5053 GB, free: 9.902 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004506/0.1425, allocations: 3.341 MB / 0.5086 GB, free: 6.551 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002799/0.1453, allocations: 2.583 MB / 0.5111 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001737/0.147, allocations: 1.25 MB / 0.5123 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002141/0.1492, allocations: 1.682 MB / 0.514 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000463/0.1497, allocations: 252 kB / 0.5142 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001736/0.1514, allocations: 1.03 MB / 0.5152 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001318/0.1528, allocations: 1.582 MB / 0.5168 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001728/0.1545, allocations: 1.844 MB / 0.5186 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006562/0.1611, allocations: 5.835 MB / 0.5243 GB, free: 6.395 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.1611, allocations: 3.938 kB / 0.5243 GB, free: 6.391 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.1611, allocations: 8 kB / 0.5243 GB, free: 6.383 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001256/0.1613, allocations: 0 / 0.5243 GB, free: 6.383 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.007814/0.1691, allocations: 4.042 MB / 0.5282 GB, free: 2.273 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.081e-05/0.1692, allocations: 15.89 kB / 0.5282 GB, free: 2.258 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007677/0.1699, allocations: 0.6082 MB / 0.5288 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2393/0.4093, allocations: 1.778 MB / 0.5306 GB, free: 36.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005742/0.4151, allocations: 2.422 MB / 0.5329 GB, free: 36.35 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001873/0.4153, allocations: 191.6 kB / 0.5331 GB, free: 36.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008295/0.4162, allocations: 252.9 kB / 0.5333 GB, free: 36.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01449/0.4307, allocations: 8.439 MB / 0.5416 GB, free: 33.01 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001229/0.4308, allocations: 36.12 kB / 0.5416 GB, free: 32.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003704/0.4312, allocations: 127.6 kB / 0.5417 GB, free: 32.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003097/0.4343, allocations: 1.702 MB / 0.5434 GB, free: 32.63 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01488/0.4492, allocations: 7.093 MB / 0.5503 GB, free: 30.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03617/0.4854, allocations: 34.04 MB / 0.5836 GB, free: 200 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007292/0.4928, allocations: 3.285 MB / 0.5868 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001943/0.4948, allocations: 1.466 MB / 0.5882 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007008/0.5018, allocations: 4.356 MB / 0.5925 GB, free: 6.715 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.568e-05/0.5019, allocations: 55.05 kB / 0.5925 GB, free: 6.652 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 3.968e-06/0.5019, allocations: 0 / 0.5925 GB, free: 6.652 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02974/0.5316, allocations: 11.58 MB / 0.6038 GB, free: 10.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/0.5318, allocations: 170.8 kB / 0.604 GB, free: 10.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005826/0.5376, allocations: 3.754 MB / 0.6077 GB, free: 6.977 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002686/0.5379, allocations: 41.7 kB / 0.6077 GB, free: 6.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002087/0.54, allocations: 2.744 MB / 0.6104 GB, free: 4.145 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007751/0.5408, allocations: 0.521 MB / 0.6109 GB, free: 3.617 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001445/0.5423, allocations: 1.075 MB / 0.6119 GB, free: 2.531 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.5424, allocations: 301.1 kB / 0.6122 GB, free: 2.234 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00242/0.5448, allocations: 1.701 MB / 0.6139 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005799/0.5506, allocations: 5.121 MB / 0.6189 GB, free: 9.68 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00858/0.5592, allocations: 7.398 MB / 0.6261 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-05/0.5594, allocations: 39.94 kB / 0.6261 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01176/0.5711, allocations: 6.703 MB / 0.6327 GB, free: 9.824 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001181/0.5713, allocations: 56 kB / 0.6327 GB, free: 9.77 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001753/0.5715, allocations: 120 kB / 0.6329 GB, free: 9.652 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007328/0.5722, allocations: 324.6 kB / 0.6332 GB, free: 9.332 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004096/0.5763, allocations: 1.234 MB / 0.6344 GB, free: 8.098 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002924/0.5793, allocations: 2.505 MB / 0.6368 GB, free: 5.457 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004116/0.5834, allocations: 291.4 kB / 0.6371 GB, free: 5.172 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008558/0.5843, allocations: 332 kB / 0.6374 GB, free: 4.848 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 660 * Array equations: 3 * 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.003686/0.588, allocations: 1.795 MB / 0.6392 GB, free: 3.039 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008263/0.5888, allocations: 308 kB / 0.6395 GB, free: 2.734 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004978/0.5938, allocations: 2.369 MB / 0.6418 GB, free: 364 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.3e-05/0.5939, allocations: 19.92 kB / 0.6418 GB, free: 344 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.5939, allocations: 4 kB / 0.6418 GB, free: 340 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.7e-05/0.5939, allocations: 7.984 kB / 0.6418 GB, free: 332 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01245/0.6064, allocations: 5.916 MB / 0.6476 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.416e-05/0.6064, allocations: 4 kB / 0.6476 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008703/0.6073, allocations: 171.8 kB / 0.6477 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002223/0.6095, allocations: 0.7147 MB / 0.6484 GB, free: 9.445 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/0.6097, allocations: 20 kB / 0.6485 GB, free: 9.426 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006177/0.6158, allocations: 4.811 MB / 0.6532 GB, free: 4.484 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.6159, allocations: 4 kB / 0.6532 GB, free: 4.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006892/0.6228, allocations: 4.341 MB / 0.6574 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001602/0.6244, allocations: 0.5244 MB / 0.6579 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005833/0.625, allocations: 20.11 kB / 0.6579 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/0.6262, allocations: 71.91 kB / 0.658 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002099/0.6264, allocations: 72.5 kB / 0.6581 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.695e-05/0.6265, allocations: 35.98 kB / 0.6581 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003532/0.6301, allocations: 2.343 MB / 0.6604 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.843e-06/0.6301, allocations: 0 / 0.6604 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004278/0.6344, allocations: 0.8228 MB / 0.6612 GB, free: 12.21 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (96): * Single equations (assignments): 92 * Array equations: 3 * 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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007484/0.6419, allocations: 4.948 MB / 0.666 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00672/0.6486, allocations: 4.026 MB / 0.67 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/0.6486, allocations: 0 / 0.67 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001645/0.6503, allocations: 1.112 MB / 0.6711 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002569/0.6529, allocations: 404.5 kB / 0.6714 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05783/0.7107, allocations: 37.66 MB / 0.7082 GB, free: 6.844 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003363/0.7141, allocations: 2.793 MB / 0.7109 GB, free: 4.027 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003859/0.718, allocations: 1.659 MB / 0.7126 GB, free: 2.367 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002537/0.7206, allocations: 1.53 MB / 0.7141 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of SimCode: time 1.313e-06/0.7206, allocations: 0 / 0.7141 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3821/1.103, allocations: 58.68 MB / 0.7714 GB, free: 189.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.42/24.52, allocations: 7.938 kB / 0.7714 GB, free: 189.6 MB / 0.5762 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches