Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.001675/0.001675, allocations: 91.33 kB / 20.43 MB, free: 4.137 MB / 18.57 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.002053/0.002053, allocations: 165 kB / 23.8 MB, free: 0.7695 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.126/1.126, allocations: 158.6 MB / 185.7 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1545/0.1545, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] 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.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.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 3.938 kB / 347.6 MB, free: 9.465 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.488e-05/3.651e-05, allocations: 8.281 kB / 347.7 MB, free: 9.457 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01249/0.01253, allocations: 14.55 MB / 362.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01138/0.02391, allocations: 4.753 MB / 367 MB, free: 6.082 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002762/0.02667, allocations: 107.5 kB / 367.1 MB, free: 5.977 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005064/0.03174, allocations: 3.391 MB / 370.5 MB, free: 2.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00665/0.03839, allocations: 2.749 MB / 373.2 MB, free: 15.81 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002358/0.04074, allocations: 1.123 MB / 374.3 MB, free: 14.68 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01076/0.05151, allocations: 7.354 MB / 381.7 MB, free: 7.32 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008102/0.05961, allocations: 4.262 MB / 385.9 MB, free: 2.992 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01131/0.07092, allocations: 4.109 MB / 390 MB, free: 14.88 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006563/0.07748, allocations: 3.593 MB / 393.6 MB, free: 11.27 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002384/0.07987, allocations: 492 kB / 394.1 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004205/0.08407, allocations: 1.478 MB / 395.6 MB, free: 9.312 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004756/0.08883, allocations: 3.101 MB / 398.7 MB, free: 6.203 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006856/0.09568, allocations: 1.881 MB / 400.6 MB, free: 4.316 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01337/0.1091, allocations: 6.951 MB / 407.5 MB, free: 13.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.1091, allocations: 3.984 kB / 407.5 MB, free: 13.33 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1091, allocations: 0 / 407.5 MB, free: 13.33 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000484/0.1095, allocations: 0 / 407.5 MB, free: 13.33 MB / 346.7 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.01971/0.1293, allocations: 7.999 MB / 415.5 MB, free: 5.246 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.394e-05/0.1293, allocations: 8.031 kB / 415.5 MB, free: 5.238 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01065/0.14, allocations: 4.584 MB / 420.1 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007129/0.1471, allocations: 3.548 MB / 423.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002826/0.1474, allocations: 320.4 kB / 424 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001332/0.1487, allocations: 440.2 kB / 424.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01837/0.1671, allocations: 9.023 MB / 433.4 MB, free: 2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001765/0.1673, allocations: 51.52 kB / 433.5 MB, free: 1.949 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005326/0.1678, allocations: 203.8 kB / 433.7 MB, free: 1.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002931/0.1707, allocations: 3.169 MB / 436.9 MB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01359/0.1843, allocations: 5.122 MB / 442 MB, free: 9.426 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2601/0.4444, allocations: 60.17 MB / 0.4904 GB, free: 45.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006833/0.4512, allocations: 2.82 MB / 0.4931 GB, free: 44.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002174/0.4534, allocations: 1.04 MB / 0.4941 GB, free: 44.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01092/0.4643, allocations: 7.538 MB / 0.5015 GB, free: 41.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.037e-05/0.4644, allocations: 64.55 kB / 0.5016 GB, free: 41.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=272): time 6.573e-06/0.4644, allocations: 0 / 0.5016 GB, free: 41.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=303): time 0.03079/0.4952, allocations: 16.2 MB / 0.5174 GB, free: 25.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.867e-05/0.4952, allocations: 213.6 kB / 0.5176 GB, free: 25.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005875/0.5011, allocations: 4.887 MB / 0.5224 GB, free: 21.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005219/0.5016, allocations: 73.14 kB / 0.5224 GB, free: 20.97 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0025/0.5041, allocations: 4.822 MB / 0.5271 GB, free: 16.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001193/0.5053, allocations: 1.22 MB / 0.5283 GB, free: 15.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001862/0.5072, allocations: 1.906 MB / 0.5302 GB, free: 13.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.319e-05/0.5072, allocations: 480.8 kB / 0.5307 GB, free: 12.81 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002278/0.5095, allocations: 1.154 MB / 0.5318 GB, free: 11.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00497/0.5145, allocations: 8.838 MB / 0.5404 GB, free: 15.4 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01227/0.5268, allocations: 10.94 MB / 0.5511 GB, free: 1.316 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002252/0.527, allocations: 52 kB / 0.5511 GB, free: 1.266 MB / 394.7 MB Notification: Performance of matching and sorting (n=1175) (initialization): time 0.019/0.546, allocations: 8.366 MB / 0.5593 GB, free: 8.859 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001321/0.5461, allocations: 86.66 kB / 0.5594 GB, free: 8.777 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002499/0.5464, allocations: 180 kB / 0.5596 GB, free: 8.602 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003133/0.5495, allocations: 1.029 MB / 0.5606 GB, free: 7.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006532/0.556, allocations: 2.113 MB / 0.5626 GB, free: 5.453 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01589/0.5719, allocations: 5.869 MB / 0.5684 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01209/0.584, allocations: 0.592 MB / 0.569 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001288/0.5853, allocations: 0.5039 MB / 0.5694 GB, free: 14.27 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 823 * 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 (1108): * Single equations (assignments): 1100 * 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,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00591/0.5912, allocations: 0.8755 MB / 0.5703 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004087/0.5953, allocations: 0.5437 MB / 0.5708 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01179/0.6071, allocations: 2.874 MB / 0.5736 GB, free: 9.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.314e-05/0.6071, allocations: 55.5 kB / 0.5737 GB, free: 9.879 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/0.6072, allocations: 4 kB / 0.5737 GB, free: 9.875 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.066e-05/0.6072, allocations: 11.95 kB / 0.5737 GB, free: 9.863 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02242/0.6296, allocations: 9.346 MB / 0.5828 GB, free: 412 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.6296, allocations: 8.781 kB / 0.5828 GB, free: 404 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/0.6309, allocations: 0.5226 MB / 0.5834 GB, free: 15.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001849/0.6328, allocations: 0.7563 MB / 0.5841 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001889/0.633, allocations: 55.98 kB / 0.5841 GB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004326/0.6373, allocations: 4.833 MB / 0.5889 GB, free: 9.984 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.898e-06/0.6373, allocations: 15.14 kB / 0.5889 GB, free: 9.973 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007362/0.6447, allocations: 4.293 MB / 0.5931 GB, free: 5.492 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00167/0.6463, allocations: 0.8558 MB / 0.5939 GB, free: 4.633 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000492/0.6468, allocations: 57.94 kB / 0.594 GB, free: 4.578 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/0.6481, allocations: 243.6 kB / 0.5942 GB, free: 4.34 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003387/0.6484, allocations: 185.5 kB / 0.5944 GB, free: 4.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/0.6486, allocations: 78.83 kB / 0.5944 GB, free: 4.086 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002802/0.6514, allocations: 2.087 MB / 0.5965 GB, free: 2.008 MB / 442.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6514, allocations: 0 / 0.5965 GB, free: 2.008 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006405/0.6578, allocations: 1.599 MB / 0.598 GB, free: 420 kB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (239): * Single equations (assignments): 231 * 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,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006612/0.6584, allocations: 218.5 kB / 0.5983 GB, free: 196 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008324/0.6667, allocations: 4.728 MB / 0.6029 GB, free: 11.46 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.6668, allocations: 4 kB / 0.6029 GB, free: 11.46 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001852/0.6686, allocations: 1.309 MB / 0.6042 GB, free: 10.13 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002721/0.6713, allocations: 0.5236 MB / 0.6047 GB, free: 9.617 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2094/0.8807, allocations: 11.62 MB / 0.616 GB, free: 156.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001845/0.8825, allocations: 1.839 MB / 0.6178 GB, free: 155.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005119/0.8877, allocations: 2.389 MB / 0.6201 GB, free: 155.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001033/0.8887, allocations: 328.8 kB / 0.6205 GB, free: 155.8 MB / 458.7 MB Notification: Performance of SimCode: time 3.166e-06/0.8887, allocations: 0 / 0.6205 GB, free: 155.8 MB / 458.7 MB Notification: Performance of Templates: time 0.06581/0.9545, allocations: 49.08 MB / 0.6684 GB, free: 117.3 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.213832565117627]