Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001653/0.001653, allocations: 117.1 kB / 18.46 MB, free: 4.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002007/0.002007, allocations: 205.8 kB / 21.4 MB, free: 1.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 227.4 MB / 251.6 MB, free: 48 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2417/0.2417, allocations: 46.17 MB / 351.1 MB, free: 14.27 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002318/0.002318, allocations: 85.92 kB / 490.2 MB, free: 28.12 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.16, allocations: 62.45 MB / 0.5397 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01856/0.1786, allocations: 14.99 MB / 0.5543 GB, free: 5.184 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01142/0.1901, allocations: 4.83 MB / 0.559 GB, free: 344 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002883/0.193, allocations: 91.75 kB / 0.5591 GB, free: 252 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006913/0.2, allocations: 3.153 MB / 0.5622 GB, free: 13.08 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00771/0.2078, allocations: 2.516 MB / 0.5647 GB, free: 10.56 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003225/0.211, allocations: 0.9905 MB / 0.5656 GB, free: 9.566 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01302/0.2241, allocations: 7.047 MB / 0.5725 GB, free: 2.508 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007718/0.2318, allocations: 4.357 MB / 0.5768 GB, free: 14.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005517/0.2374, allocations: 2.219 MB / 0.5789 GB, free: 11.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006355/0.2438, allocations: 3.236 MB / 0.5821 GB, free: 8.609 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002129/0.246, allocations: 488 kB / 0.5826 GB, free: 8.133 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004254/0.2502, allocations: 1.479 MB / 0.584 GB, free: 6.652 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005118/0.2554, allocations: 2.84 MB / 0.5868 GB, free: 3.805 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006276/0.2617, allocations: 3.219 MB / 0.5899 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01628/0.278, allocations: 10.41 MB / 0.6001 GB, free: 6.113 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.2781, allocations: 0 / 0.6001 GB, free: 6.113 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2781, allocations: 0 / 0.6001 GB, free: 6.113 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000399/0.2785, allocations: 0 / 0.6001 GB, free: 6.113 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.3197/0.5982, allocations: 7.45 MB / 0.6074 GB, free: 54.45 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.5983, allocations: 9.375 kB / 0.6074 GB, free: 54.45 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01734/0.6156, allocations: 3.963 MB / 0.6112 GB, free: 53.85 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01135/0.627, allocations: 4.157 MB / 0.6153 GB, free: 52.36 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003253/0.6274, allocations: 319.9 kB / 0.6156 GB, free: 52.27 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002249/0.6296, allocations: 433.4 kB / 0.616 GB, free: 52.17 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02659/0.6562, allocations: 15.74 MB / 0.6314 GB, free: 44.05 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001349/0.6564, allocations: 67.03 kB / 0.6315 GB, free: 44.02 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005618/0.657, allocations: 206.5 kB / 0.6316 GB, free: 43.87 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004013/0.661, allocations: 3.211 MB / 0.6348 GB, free: 42.16 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0224/0.6834, allocations: 14.16 MB / 0.6486 GB, free: 27.98 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07635/0.7598, allocations: 57.61 MB / 0.7049 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01493/0.7748, allocations: 6.591 MB / 0.7113 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00546/0.7803, allocations: 3.743 MB / 0.715 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02267/0.8029, allocations: 14.8 MB / 0.7294 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.083e-05/0.803, allocations: 68.5 kB / 0.7295 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=292): time 5.14e-06/0.8031, allocations: 0 / 0.7295 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of matching and sorting (n=342): time 0.1548/0.9578, allocations: 42.81 MB / 0.7713 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001476/0.958, allocations: 218 kB / 0.7715 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008613/0.9666, allocations: 5.471 MB / 0.7768 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000964/0.9676, allocations: 76.31 kB / 0.7769 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.004144/0.9718, allocations: 4.525 MB / 0.7813 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002379/0.9742, allocations: 1.318 MB / 0.7826 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003841/0.978, allocations: 1.869 MB / 0.7844 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.9782, allocations: 309 kB / 0.7847 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00895/0.9872, allocations: 4.839 MB / 0.7895 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01438/1.002, allocations: 9.82 MB / 0.799 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02447/1.026, allocations: 15.62 MB / 0.8143 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002443/1.026, allocations: 48 kB / 0.8144 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.05584/1.082, allocations: 19.65 MB / 0.8335 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004084/1.083, allocations: 80 kB / 0.8336 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005276/1.083, allocations: 172 kB / 0.8338 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02561/1.109, allocations: 5.942 MB / 0.8396 GB, free: 1.371 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3572/1.466, allocations: 2.117 MB / 0.8416 GB, free: 203.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03693/1.503, allocations: 26.16 MB / 0.8672 GB, free: 192.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008581/1.512, allocations: 0.5731 MB / 0.8678 GB, free: 192.1 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001817/1.514, allocations: 0.5097 MB / 0.8683 GB, free: 192 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 789 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.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 (1099): * Single equations (assignments): 1091 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005404/1.519, allocations: 3.091 MB / 0.8713 GB, free: 190.9 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001201/1.52, allocations: 0.5141 MB / 0.8718 GB, free: 190.9 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02926/1.549, allocations: 13.01 MB / 0.8845 GB, free: 186.8 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.923e-05/1.55, allocations: 58.42 kB / 0.8845 GB, free: 186.8 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.502e-05/1.55, allocations: 11.62 kB / 0.8845 GB, free: 186.8 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.069e-05/1.55, allocations: 19.12 kB / 0.8846 GB, free: 186.8 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04724/1.597, allocations: 24.62 MB / 0.9086 GB, free: 166.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.056e-05/1.597, allocations: 10.75 kB / 0.9086 GB, free: 166.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003143/1.6, allocations: 0.585 MB / 0.9092 GB, free: 166.2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01829/1.618, allocations: 4.973 MB / 0.914 GB, free: 161.2 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008592/1.619, allocations: 55.98 kB / 0.9141 GB, free: 161.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02245/1.642, allocations: 21.36 MB / 0.935 GB, free: 139.6 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/1.642, allocations: 7.938 kB / 0.935 GB, free: 139.6 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03224/1.674, allocations: 17.61 MB / 0.9522 GB, free: 122.2 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001546/1.676, allocations: 0.5625 MB / 0.9527 GB, free: 121.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001409/1.677, allocations: 55.98 kB / 0.9528 GB, free: 121.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003223/1.68, allocations: 262.2 kB / 0.953 GB, free: 121.4 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000901/1.681, allocations: 201.1 kB / 0.9532 GB, free: 121.2 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002793/1.682, allocations: 80 kB / 0.9533 GB, free: 121.1 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.004509/1.686, allocations: 3.394 MB / 0.9566 GB, free: 117.7 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/1.686, allocations: 0 / 0.9566 GB, free: 117.7 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.007798/1.694, allocations: 1.746 MB / 0.9583 GB, free: 116 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.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 (257): * Single equations (assignments): 249 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007762/1.695, allocations: 206.3 kB / 0.9585 GB, free: 115.8 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01428/1.709, allocations: 11.04 MB / 0.9693 GB, free: 104.8 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-05/1.709, allocations: 0 / 0.9693 GB, free: 104.8 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.005836/1.715, allocations: 4.134 MB / 0.9733 GB, free: 100.7 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004445/1.719, allocations: 0.6159 MB / 0.9739 GB, free: 100.1 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02292/1.742, allocations: 16.28 MB / 0.9898 GB, free: 83.71 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005535/1.748, allocations: 4.613 MB / 0.9943 GB, free: 79.07 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.005937/1.754, allocations: 2.978 MB / 0.9972 GB, free: 76.09 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001475/1.755, allocations: 347.4 kB / 0.9976 GB, free: 75.75 MB / 0.6231 GB Notification: Performance of SimCode: time 7.82e-07/1.755, allocations: 3.938 kB / 0.9976 GB, free: 75.75 MB / 0.6231 GB Notification: Performance of Templates: time 0.1069/1.862, allocations: 76.98 MB / 1.073 GB, free: 14.77 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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: 8.893047080375254]