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.001481/0.001481, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.001698/0.001698, allocations: 196.5 kB / 23.72 MB, free: 4.492 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 / 257.5 MB, free: 7.785 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.247/0.247, allocations: 46.96 MB / 360.9 MB, free: 4.051 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002386/0.002386, allocations: 71.89 kB / 0.4966 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3479, allocations: 66.04 MB / 0.5611 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01638/0.3643, allocations: 13.03 MB / 0.5738 GB, free: 7.082 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01057/0.3749, allocations: 4.616 MB / 0.5783 GB, free: 2.457 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002583/0.3775, allocations: 111.5 kB / 0.5784 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006798/0.3843, allocations: 3.083 MB / 0.5814 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007122/0.3914, allocations: 2.611 MB / 0.584 GB, free: 12.63 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00251/0.3939, allocations: 0.9905 MB / 0.5849 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01003/0.4039, allocations: 7.052 MB / 0.5918 GB, free: 4.582 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005594/0.4095, allocations: 3.577 MB / 0.5953 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004465/0.414, allocations: 2.258 MB / 0.5975 GB, free: 14.67 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005809/0.4198, allocations: 3.372 MB / 0.6008 GB, free: 11.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001953/0.4218, allocations: 488 kB / 0.6013 GB, free: 10.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00367/0.4254, allocations: 1.381 MB / 0.6026 GB, free: 9.426 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004215/0.4296, allocations: 2.921 MB / 0.6055 GB, free: 6.496 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004964/0.4346, allocations: 2.388 MB / 0.6078 GB, free: 4.094 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01433/0.4489, allocations: 10.46 MB / 0.618 GB, free: 9.586 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4489, allocations: 0 / 0.618 GB, free: 9.586 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4489, allocations: 0 / 0.618 GB, free: 9.586 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000376/0.4493, allocations: 7.938 kB / 0.618 GB, free: 9.578 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.01744/0.4668, allocations: 7.377 MB / 0.6253 GB, free: 2.125 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.4668, allocations: 8.031 kB / 0.6253 GB, free: 2.117 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01678/0.4836, allocations: 3.967 MB / 0.6291 GB, free: 14.14 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01198/0.4956, allocations: 4.083 MB / 0.6331 GB, free: 10 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003298/0.4959, allocations: 316.4 kB / 0.6334 GB, free: 9.691 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00168/0.4976, allocations: 435.6 kB / 0.6338 GB, free: 9.266 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02831/0.5259, allocations: 15.81 MB / 0.6493 GB, free: 8.504 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001632/0.5261, allocations: 63.47 kB / 0.6493 GB, free: 8.441 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005914/0.5266, allocations: 203.8 kB / 0.6495 GB, free: 8.242 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005354/0.532, allocations: 3.216 MB / 0.6527 GB, free: 5.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02969/0.5617, allocations: 14.14 MB / 0.6665 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08177/0.6435, allocations: 53.37 MB / 0.7186 GB, free: 52 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01462/0.6581, allocations: 5.374 MB / 0.7238 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005307/0.6634, allocations: 3.396 MB / 0.7272 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.366/1.029, allocations: 12.05 MB / 0.7389 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.234e-05/1.029, allocations: 67.47 kB / 0.739 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=292): time 6.372e-06/1.029, allocations: 0 / 0.739 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=342): time 0.1388/1.168, allocations: 42.68 MB / 0.7807 GB, free: 121.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.405e-05/1.168, allocations: 210 kB / 0.7809 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005911/1.174, allocations: 5.199 MB / 0.786 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008728/1.175, allocations: 76.89 kB / 0.786 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002057/1.177, allocations: 4.552 MB / 0.7905 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001419/1.179, allocations: 1.329 MB / 0.7918 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002301/1.181, allocations: 1.861 MB / 0.7936 GB, free: 108.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.303e-05/1.181, allocations: 305.1 kB / 0.7939 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00562/1.187, allocations: 4.828 MB / 0.7986 GB, free: 103.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009042/1.196, allocations: 9.861 MB / 0.8082 GB, free: 90.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01582/1.211, allocations: 15.61 MB / 0.8235 GB, free: 72.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001847/1.212, allocations: 48 kB / 0.8235 GB, free: 72.85 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1186) (initialization): time 0.04448/1.256, allocations: 19.54 MB / 0.8426 GB, free: 53.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002597/1.256, allocations: 80 kB / 0.8427 GB, free: 53.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003604/1.257, allocations: 172 kB / 0.8428 GB, free: 53.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02244/1.279, allocations: 5.941 MB / 0.8486 GB, free: 47.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007611/1.287, allocations: 2.121 MB / 0.8507 GB, free: 44.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03039/1.317, allocations: 25.69 MB / 0.8758 GB, free: 19.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009738/1.327, allocations: 0.5618 MB / 0.8763 GB, free: 18.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002309/1.329, allocations: 0.5071 MB / 0.8768 GB, free: 17.98 MB / 0.5606 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.008011/1.337, allocations: 3.095 MB / 0.8799 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001852/1.339, allocations: 484.7 kB / 0.8803 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03272/1.372, allocations: 12.94 MB / 0.893 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.541e-05/1.372, allocations: 51.98 kB / 0.893 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-05/1.372, allocations: 8 kB / 0.893 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.949e-05/1.372, allocations: 15.95 kB / 0.893 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06329/1.435, allocations: 22.27 MB / 0.9148 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-05/1.435, allocations: 8.031 kB / 0.9148 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0036/1.439, allocations: 0.585 MB / 0.9154 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02195/1.461, allocations: 4.962 MB / 0.9202 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009442/1.462, allocations: 67.27 kB / 0.9203 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03466/1.497, allocations: 20.88 MB / 0.9407 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.477e-05/1.497, allocations: 15.88 kB / 0.9407 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04425/1.541, allocations: 17.53 MB / 0.9578 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00172/1.543, allocations: 436.6 kB / 0.9582 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001774/1.544, allocations: 56.47 kB / 0.9583 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004014/1.548, allocations: 263.6 kB / 0.9585 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001065/1.549, allocations: 201.5 kB / 0.9587 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005202/1.55, allocations: 87.91 kB / 0.9588 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00646/1.556, allocations: 3.001 MB / 0.9617 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.61e-07/1.556, allocations: 7.875 kB / 0.9617 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.01023/1.567, allocations: 1.719 MB / 0.9634 GB, free: 8.453 MB / 0.6387 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.001516/1.568, allocations: 206.6 kB / 0.9636 GB, free: 8.246 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.3527/1.921, allocations: 10.54 MB / 0.9739 GB, free: 234 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.72e-05/1.921, allocations: 4.75 kB / 0.9739 GB, free: 234 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.007845/1.929, allocations: 3.815 MB / 0.9776 GB, free: 233.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004016/1.933, allocations: 0.5134 MB / 0.9781 GB, free: 233.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02625/1.959, allocations: 16.37 MB / 0.9941 GB, free: 227.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005485/1.964, allocations: 4.12 MB / 0.9981 GB, free: 226.5 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.006805/1.971, allocations: 2.924 MB / 1.001 GB, free: 224.7 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001411/1.973, allocations: 330.6 kB / 1.001 GB, free: 224.4 MB / 0.6544 GB Notification: Performance of SimCode: time 9.62e-07/1.973, allocations: 0 / 1.001 GB, free: 224.4 MB / 0.6544 GB Notification: Performance of Templates: time 0.1041/2.077, allocations: 78.85 MB / 1.078 GB, free: 147.7 MB / 0.6544 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: 9.078046159818769]