Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.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: translateModel(ModelicaTest.MultiBody.Forces.Torque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 113.2 kB / 17.08 MB, free: 5.992 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.001428/0.001428, allocations: 197.2 kB / 18.01 MB, free: 5.07 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.499/1.499, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.21/0.21, allocations: 43.52 MB / 314.8 MB, free: 452 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.001427/0.001427, allocations: 69.47 kB / 442.5 MB, free: 5.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1147, allocations: 57.79 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.01975/0.1345, allocations: 17.11 MB / 0.5053 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0137/0.1483, allocations: 5.105 MB / 0.5103 GB, free: 5.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00512/0.1535, allocations: 111.7 kB / 0.5104 GB, free: 5.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01089/0.1644, allocations: 5.074 MB / 0.5153 GB, free: 256 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008685/0.1732, allocations: 2.711 MB / 0.518 GB, free: 13.53 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003218/0.1764, allocations: 1.08 MB / 0.519 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01237/0.1888, allocations: 6.839 MB / 0.5257 GB, free: 5.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3706/0.5595, allocations: 5.929 MB / 0.5315 GB, free: 7.914 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007847/0.5674, allocations: 2.56 MB / 0.534 GB, free: 7.797 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009318/0.5768, allocations: 3.48 MB / 0.5374 GB, free: 7.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003661/0.5805, allocations: 0.5458 MB / 0.5379 GB, free: 7.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007352/0.5879, allocations: 1.426 MB / 0.5393 GB, free: 7.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008514/0.5965, allocations: 3.257 MB / 0.5425 GB, free: 7.109 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0118/0.6083, allocations: 3.657 MB / 0.5461 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0238/0.6322, allocations: 11.38 MB / 0.5572 GB, free: 3.441 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/0.6322, allocations: 0.5 kB / 0.5572 GB, free: 3.441 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.6322, allocations: 1.562 kB / 0.5572 GB, free: 3.441 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006379/0.6329, allocations: 0 / 0.5572 GB, free: 3.441 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: 2391 * Number of variables: 2391 Notification: Performance of Generate backend data structure: time 0.03553/0.6684, allocations: 7.918 MB / 0.5649 GB, free: 14.74 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.155e-05/0.6685, allocations: 13.17 kB / 0.5649 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02016/0.6887, allocations: 2.829 MB / 0.5677 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01629/0.7051, allocations: 4.596 MB / 0.5722 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006185/0.7057, allocations: 384.8 kB / 0.5726 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003489/0.7092, allocations: 0.5029 MB / 0.573 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04746/0.7567, allocations: 15.65 MB / 0.5883 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005008/0.7573, allocations: 65.62 kB / 0.5884 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003127/0.7604, allocations: 246.4 kB / 0.5886 GB, free: 13.44 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00766/0.7681, allocations: 3.062 MB / 0.5916 GB, free: 10.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03505/0.8032, allocations: 13.24 MB / 0.6045 GB, free: 13.42 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09525/0.8985, allocations: 61.32 MB / 0.6644 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02471/0.9233, allocations: 6.654 MB / 0.6709 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01187/0.9352, allocations: 4.027 MB / 0.6749 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03812/0.9735, allocations: 9.469 MB / 0.6841 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001275/0.9737, allocations: 69.16 kB / 0.6842 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=269): time 1.199e-05/0.9738, allocations: 0 / 0.6842 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of matching and sorting (n=311): time 0.1872/1.161, allocations: 32.57 MB / 0.716 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001933/1.161, allocations: 242.9 kB / 0.7162 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02654/1.188, allocations: 6.987 MB / 0.723 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001413/1.189, allocations: 77.61 kB / 0.7231 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.008063/1.197, allocations: 4.762 MB / 0.7278 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.003299/1.201, allocations: 1.184 MB / 0.7289 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01212/1.213, allocations: 1.914 MB / 0.7308 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001503/1.213, allocations: 309.1 kB / 0.7311 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01443/1.228, allocations: 3.922 MB / 0.7349 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02312/1.251, allocations: 9.245 MB / 0.7439 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5443/1.795, allocations: 14.13 MB / 0.7577 GB, free: 193.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002407/1.795, allocations: 53.38 kB / 0.7578 GB, free: 193.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1222) (initialization): time 0.07474/1.87, allocations: 14.98 MB / 0.7724 GB, free: 190.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004067/1.871, allocations: 87.91 kB / 0.7725 GB, free: 190.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000652/1.871, allocations: 189.9 kB / 0.7727 GB, free: 190.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02938/1.901, allocations: 2.294 MB / 0.7749 GB, free: 190.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01588/1.917, allocations: 2.174 MB / 0.777 GB, free: 190.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03599/1.953, allocations: 14.39 MB / 0.7911 GB, free: 182.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02389/1.977, allocations: 0.538 MB / 0.7916 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003739/1.98, allocations: 0.5479 MB / 0.7922 GB, free: 182.6 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 848 * Number of states: 0 () * Number of discrete variables: 63 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (1140): * Single equations (assignments): 1133 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01283/1.993, allocations: 3.227 MB / 0.7953 GB, free: 181.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002672/1.996, allocations: 0.5848 MB / 0.7959 GB, free: 181.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04461/2.041, allocations: 7.719 MB / 0.8034 GB, free: 177 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.232e-05/2.041, allocations: 33.17 kB / 0.8035 GB, free: 176.9 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.594e-05/2.041, allocations: 8 kB / 0.8035 GB, free: 176.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.609e-05/2.041, allocations: 19.09 kB / 0.8035 GB, free: 176.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07283/2.114, allocations: 16.05 MB / 0.8192 GB, free: 162.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.818e-05/2.114, allocations: 4 kB / 0.8192 GB, free: 162.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005907/2.12, allocations: 0.5226 MB / 0.8197 GB, free: 162.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01045/2.13, allocations: 2.039 MB / 0.8217 GB, free: 160.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00136/2.132, allocations: 52 kB / 0.8217 GB, free: 160.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02998/2.162, allocations: 13.71 MB / 0.8351 GB, free: 146.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.195e-05/2.162, allocations: 8 kB / 0.8351 GB, free: 146.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03558/2.197, allocations: 12.26 MB / 0.8471 GB, free: 134 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005669/2.203, allocations: 1.181 MB / 0.8482 GB, free: 132.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003306/2.207, allocations: 52 kB / 0.8483 GB, free: 132.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007189/2.214, allocations: 224.5 kB / 0.8485 GB, free: 132.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001693/2.216, allocations: 195.9 kB / 0.8487 GB, free: 132.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009768/2.217, allocations: 87.55 kB / 0.8488 GB, free: 132.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.01407/2.231, allocations: 4.475 MB / 0.8531 GB, free: 127.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.994e-06/2.231, allocations: 0 / 0.8531 GB, free: 127.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01619/2.247, allocations: 1.73 MB / 0.8548 GB, free: 126.1 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (254): * Single equations (assignments): 249 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001507/2.249, allocations: 202.6 kB / 0.855 GB, free: 125.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0239/2.272, allocations: 9.484 MB / 0.8643 GB, free: 116.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.31e-05/2.273, allocations: 0 / 0.8643 GB, free: 116.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01139/2.284, allocations: 3.72 MB / 0.8679 GB, free: 112.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01059/2.295, allocations: 0.7445 MB / 0.8686 GB, free: 112 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06755/2.362, allocations: 16.73 MB / 0.885 GB, free: 95.16 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01884/2.381, allocations: 4.862 MB / 0.8897 GB, free: 90.27 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00361/2.385, allocations: 479.3 kB / 0.8902 GB, free: 89.8 MB / 0.5919 GB Notification: Performance of SimCode: time 1.523e-06/2.385, allocations: 0 / 0.8902 GB, free: 89.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.713/3.098, allocations: 157.3 MB / 1.044 GB, free: 148.9 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Torque/Torque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches