Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001379/0.001379, allocations: 82.23 kB / 20.68 MB, free: 1.039 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.001614/0.001614, allocations: 163.5 kB / 23.95 MB, free: 4.168 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.475/1.475, allocations: 177.2 MB / 204.3 MB, free: 9.188 MB / 190.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.2102/0.2102, allocations: 34.28 MB / 295 MB, free: 14.58 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.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 442.7 MB, free: 5.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.582e-05/2.739e-05, allocations: 2.281 kB / 442.7 MB, free: 5.43 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.2167/0.2167, allocations: 13.06 MB / 455.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01153/0.2283, allocations: 4.629 MB / 460.3 MB, free: 9.426 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004087/0.2324, allocations: 108.2 kB / 460.4 MB, free: 9.395 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006853/0.2392, allocations: 3.238 MB / 463.7 MB, free: 8.039 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00758/0.2468, allocations: 2.682 MB / 466.4 MB, free: 6.785 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002853/0.2496, allocations: 1.099 MB / 467.5 MB, free: 6.332 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0121/0.2617, allocations: 7.813 MB / 475.3 MB, free: 2.438 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005922/0.2677, allocations: 4.103 MB / 479.4 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007417/0.2751, allocations: 3.376 MB / 482.8 MB, free: 13.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006581/0.2817, allocations: 3.595 MB / 486.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001318/0.283, allocations: 500 kB / 486.8 MB, free: 9.879 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003291/0.2863, allocations: 1.471 MB / 488.3 MB, free: 8.406 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003431/0.2897, allocations: 3.042 MB / 491.4 MB, free: 5.355 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003247/0.2929, allocations: 1.857 MB / 493.2 MB, free: 3.492 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0138/0.3067, allocations: 10.55 MB / 0.492 GB, free: 8.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3067, allocations: 0 / 0.492 GB, free: 8.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3068, allocations: 0 / 0.492 GB, free: 8.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002743/0.307, allocations: 0 / 0.492 GB, free: 8.91 MB / 398.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.01825/0.3253, allocations: 7.419 MB / 0.4992 GB, free: 1.414 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.3253, allocations: 12.02 kB / 0.4992 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01816/0.3435, allocations: 4.064 MB / 0.5032 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01116/0.3546, allocations: 4.07 MB / 0.5072 GB, free: 9.207 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003429/0.355, allocations: 316.4 kB / 0.5075 GB, free: 8.895 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001976/0.357, allocations: 436.2 kB / 0.5079 GB, free: 8.469 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03064/0.3876, allocations: 15.83 MB / 0.5233 GB, free: 7.691 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001774/0.3878, allocations: 55.53 kB / 0.5234 GB, free: 7.637 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007535/0.3885, allocations: 203.8 kB / 0.5236 GB, free: 7.438 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005732/0.3943, allocations: 3.219 MB / 0.5267 GB, free: 4.207 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02999/0.4243, allocations: 14.14 MB / 0.5405 GB, free: 6.039 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08222/0.5065, allocations: 53.77 MB / 0.593 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0157/0.5222, allocations: 5.572 MB / 0.5985 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005671/0.5278, allocations: 3.395 MB / 0.6018 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02501/0.5529, allocations: 12.35 MB / 0.6139 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.924e-05/0.5529, allocations: 64.5 kB / 0.6139 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=292): time 6.753e-06/0.5529, allocations: 4 kB / 0.6139 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of matching and sorting (n=342): time 0.3976/0.9505, allocations: 43.65 MB / 0.6566 GB, free: 162.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.107e-05/0.9506, allocations: 210.8 kB / 0.6568 GB, free: 162.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007204/0.9578, allocations: 5.372 MB / 0.662 GB, free: 160.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007997/0.9586, allocations: 76.11 kB / 0.6621 GB, free: 160.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001991/0.9606, allocations: 4.505 MB / 0.6665 GB, free: 157.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001287/0.9619, allocations: 1.304 MB / 0.6677 GB, free: 156.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002456/0.9643, allocations: 1.837 MB / 0.6695 GB, free: 155.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.659e-05/0.9644, allocations: 312.7 kB / 0.6698 GB, free: 155.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005595/0.97, allocations: 4.832 MB / 0.6746 GB, free: 153.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007257/0.9772, allocations: 9.861 MB / 0.6842 GB, free: 144.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01502/0.9923, allocations: 15.6 MB / 0.6994 GB, free: 131.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001809/0.9924, allocations: 48 kB / 0.6995 GB, free: 131 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1186) (initialization): time 0.04233/1.035, allocations: 19.53 MB / 0.7185 GB, free: 111.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.608e-05/1.035, allocations: 80.94 kB / 0.7186 GB, free: 111.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001565/1.035, allocations: 172 kB / 0.7188 GB, free: 111.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02402/1.059, allocations: 5.937 MB / 0.7246 GB, free: 105.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007349/1.066, allocations: 2.121 MB / 0.7267 GB, free: 103.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02862/1.095, allocations: 25.73 MB / 0.7518 GB, free: 77.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008308/1.103, allocations: 0.6151 MB / 0.7524 GB, free: 76.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001384/1.105, allocations: 0.5155 MB / 0.7529 GB, free: 76.08 MB / 0.5294 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 (1095): * Single equations (assignments): 1087 * 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.005016/1.11, allocations: 3.096 MB / 0.7559 GB, free: 72.97 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001232/1.111, allocations: 480.8 kB / 0.7564 GB, free: 72.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03116/1.142, allocations: 12.93 MB / 0.769 GB, free: 59.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.521e-05/1.142, allocations: 59.98 kB / 0.7691 GB, free: 59.44 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.002e-05/1.142, allocations: 12 kB / 0.7691 GB, free: 59.43 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.448e-05/1.142, allocations: 19.88 kB / 0.7691 GB, free: 59.41 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05043/1.193, allocations: 22.41 MB / 0.791 GB, free: 36.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.627e-05/1.193, allocations: 7.375 kB / 0.791 GB, free: 36.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003187/1.196, allocations: 0.585 MB / 0.7916 GB, free: 36.01 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01968/1.216, allocations: 4.966 MB / 0.7964 GB, free: 31.03 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009071/1.217, allocations: 55.98 kB / 0.7965 GB, free: 30.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02358/1.24, allocations: 20.94 MB / 0.8169 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/1.24, allocations: 4 kB / 0.8169 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04166/1.282, allocations: 17.52 MB / 0.834 GB, free: 8.145 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001898/1.284, allocations: 483.8 kB / 0.8345 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002027/1.286, allocations: 55.98 kB / 0.8345 GB, free: 7.617 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004938/1.291, allocations: 310.5 kB / 0.8348 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001411/1.292, allocations: 201.5 kB / 0.835 GB, free: 7.121 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007571/1.293, allocations: 91.98 kB / 0.8351 GB, free: 7.031 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00722/1.3, allocations: 3.13 MB / 0.8382 GB, free: 3.902 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/1.3, allocations: 0 / 0.8382 GB, free: 3.902 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01416/1.314, allocations: 1.866 MB / 0.84 GB, free: 2.039 MB / 0.545 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.001503/1.316, allocations: 226.2 kB / 0.8402 GB, free: 1.812 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.2578/1.573, allocations: 10.54 MB / 0.8505 GB, free: 172.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.307e-05/1.574, allocations: 1.062 kB / 0.8505 GB, free: 172.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007305/1.581, allocations: 3.812 MB / 0.8542 GB, free: 171 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004678/1.585, allocations: 0.5248 MB / 0.8547 GB, free: 170.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03069/1.616, allocations: 16.27 MB / 0.8706 GB, free: 164 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006032/1.622, allocations: 4.123 MB / 0.8746 GB, free: 162.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006323/1.629, allocations: 2.927 MB / 0.8775 GB, free: 162.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001793/1.63, allocations: 342.4 kB / 0.8778 GB, free: 162.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.453e-06/1.63, allocations: 0 / 0.8778 GB, free: 162.8 MB / 0.545 GB Notification: Performance of Templates: time 0.1059/1.736, allocations: 74.08 MB / 0.9502 GB, free: 92.66 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.508846241980791]