Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 123.4 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002253/0.002253, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.531/1.531, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2334/0.2334, allocations: 46.93 MB / 357.1 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 67.91 kB / 0.4914 GB, free: 7.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1394, allocations: 66 MB / 0.5559 GB, free: 5.324 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01345/0.1528, allocations: 10.29 MB / 0.5659 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00929/0.1621, allocations: 3.818 MB / 0.5696 GB, free: 7.145 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001817/0.1639, allocations: 71.56 kB / 0.5697 GB, free: 7.074 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004191/0.1681, allocations: 1.966 MB / 0.5716 GB, free: 5.102 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005259/0.1734, allocations: 1.665 MB / 0.5733 GB, free: 3.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.1751, allocations: 0.6121 MB / 0.5739 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006123/0.1812, allocations: 3.372 MB / 0.5772 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003493/0.1847, allocations: 2.193 MB / 0.5793 GB, free: 13.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002518/0.1872, allocations: 1.261 MB / 0.5805 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002916/0.1901, allocations: 1.81 MB / 0.5823 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006132/0.1907, allocations: 256 kB / 0.5825 GB, free: 9.859 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00226/0.193, allocations: 1.057 MB / 0.5836 GB, free: 8.801 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001841/0.1948, allocations: 1.585 MB / 0.5851 GB, free: 7.211 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002021/0.1968, allocations: 1.817 MB / 0.5869 GB, free: 5.383 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3531/0.5499, allocations: 5.797 MB / 0.5926 GB, free: 14.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.5499, allocations: 0 / 0.5926 GB, free: 14.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.5499, allocations: 0.5312 kB / 0.5926 GB, free: 14.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002837/0.5502, allocations: 0.6875 kB / 0.5926 GB, free: 14.05 MB / 446.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.009832/0.56, allocations: 4.109 MB / 0.5966 GB, free: 12.28 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001002/0.5601, allocations: 9.703 kB / 0.5966 GB, free: 12.28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008153/0.5683, allocations: 1.795 MB / 0.5983 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005035/0.5733, allocations: 1.932 MB / 0.6002 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001907/0.5735, allocations: 190.2 kB / 0.6004 GB, free: 11.49 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006132/0.5741, allocations: 256.1 kB / 0.6006 GB, free: 11.49 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01646/0.5906, allocations: 8.454 MB / 0.6089 GB, free: 9.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001101/0.5907, allocations: 39.66 kB / 0.6089 GB, free: 9.676 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003756/0.5911, allocations: 128.3 kB / 0.6091 GB, free: 9.676 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003178/0.5943, allocations: 1.701 MB / 0.6107 GB, free: 9.441 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01462/0.6089, allocations: 7.105 MB / 0.6177 GB, free: 7.434 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04656/0.6554, allocations: 34.09 MB / 0.6509 GB, free: 11.57 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009129/0.6646, allocations: 3.176 MB / 0.654 GB, free: 8.242 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002658/0.6672, allocations: 1.359 MB / 0.6554 GB, free: 6.871 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01025/0.6775, allocations: 4.469 MB / 0.6597 GB, free: 2.211 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.932e-05/0.6775, allocations: 44.88 kB / 0.6598 GB, free: 2.16 MB / 478.1 MB Notification: Performance of pre-optimization done (n=121): time 4.338e-06/0.6775, allocations: 4 kB / 0.6598 GB, free: 2.156 MB / 478.1 MB Notification: Performance of matching and sorting (n=129): time 0.03599/0.7135, allocations: 11.73 MB / 0.6712 GB, free: 6.344 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/0.7136, allocations: 170.9 kB / 0.6714 GB, free: 6.141 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005683/0.7193, allocations: 3.723 MB / 0.675 GB, free: 2.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002328/0.7196, allocations: 41.7 kB / 0.6751 GB, free: 2.383 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002342/0.7219, allocations: 2.862 MB / 0.6779 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007038/0.7226, allocations: 0.5371 MB / 0.6784 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001558/0.7242, allocations: 1.091 MB / 0.6795 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.7243, allocations: 312.6 kB / 0.6798 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002814/0.7271, allocations: 1.716 MB / 0.6814 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005874/0.733, allocations: 5.133 MB / 0.6864 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01074/0.7437, allocations: 7.419 MB / 0.6937 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001164/0.7439, allocations: 36 kB / 0.6937 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=696) (initialization): time 0.0147/0.7586, allocations: 6.75 MB / 0.7003 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000142/0.7587, allocations: 56 kB / 0.7004 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002495/0.759, allocations: 123.9 kB / 0.7005 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008458/0.7598, allocations: 325.3 kB / 0.7008 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004729/0.7645, allocations: 1.24 MB / 0.702 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003569/0.7681, allocations: 2.505 MB / 0.7045 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005052/0.7731, allocations: 295.8 kB / 0.7047 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001288/0.7744, allocations: 332 kB / 0.7051 GB, free: 0.8477 MB / 0.5137 GB 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 (668): * Single equations (assignments): 664 * 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.004933/0.7794, allocations: 1.788 MB / 0.7068 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001097/0.7805, allocations: 321.8 kB / 0.7071 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006131/0.7866, allocations: 2.366 MB / 0.7094 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.583e-05/0.7866, allocations: 16 kB / 0.7094 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-05/0.7867, allocations: 4 kB / 0.7094 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.562e-05/0.7867, allocations: 8.016 kB / 0.7094 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0151/0.8018, allocations: 5.912 MB / 0.7152 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.71e-05/0.8018, allocations: 4.062 kB / 0.7152 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009453/0.8027, allocations: 171.8 kB / 0.7154 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00239/0.8051, allocations: 0.7172 MB / 0.7161 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001366/0.8053, allocations: 24 kB / 0.7161 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006745/0.812, allocations: 4.817 MB / 0.7208 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/0.812, allocations: 11.92 kB / 0.7208 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008363/0.8204, allocations: 4.335 MB / 0.7251 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/0.8216, allocations: 374.8 kB / 0.7254 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007909/0.8224, allocations: 20 kB / 0.7254 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001609/0.824, allocations: 79.95 kB / 0.7255 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002497/0.8242, allocations: 68.45 kB / 0.7256 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.8243, allocations: 38.56 kB / 0.7256 GB, free: 11.55 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005567/0.8299, allocations: 2.315 MB / 0.7279 GB, free: 9.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8299, allocations: 4 kB / 0.7279 GB, free: 9.246 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005685/0.8356, allocations: 0.7968 MB / 0.7287 GB, free: 8.449 MB / 0.545 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.0005614/0.8361, allocations: 159.2 kB / 0.7288 GB, free: 8.289 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00847/0.8446, allocations: 3.905 MB / 0.7326 GB, free: 4.402 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.617e-06/0.8446, allocations: 0 / 0.7326 GB, free: 4.402 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001884/0.8465, allocations: 1.042 MB / 0.7336 GB, free: 3.355 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0035/0.85, allocations: 390.4 kB / 0.734 GB, free: 2.984 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01775/0.8678, allocations: 7.378 MB / 0.7412 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005061/0.8728, allocations: 2.777 MB / 0.7439 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004767/0.8776, allocations: 1.656 MB / 0.7455 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001019/0.8786, allocations: 211.4 kB / 0.7457 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of SimCode: time 1.573e-06/0.8786, allocations: 0 / 0.7457 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of Templates: time 0.06751/0.9461, allocations: 28.35 MB / 0.7734 GB, free: 10.77 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.218967996537685]