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.001411/0.001411, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.001494/0.001494, allocations: 168.5 kB / 24.5 MB, free: 3.453 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.445/1.445, allocations: 177.2 MB / 204.9 MB, free: 9.059 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.214/0.214, allocations: 34.27 MB / 295.5 MB, free: 14.61 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 0.002263/0.002263, allocations: 75.88 kB / 443.1 MB, free: 6.734 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3392, allocations: 66 MB / 0.4972 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01109/0.3503, allocations: 13.04 MB / 0.5099 GB, free: 21.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008462/0.3588, allocations: 4.623 MB / 0.5145 GB, free: 18.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002214/0.361, allocations: 112.9 kB / 0.5146 GB, free: 18.42 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005529/0.3665, allocations: 3.084 MB / 0.5176 GB, free: 17.13 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006545/0.3731, allocations: 2.616 MB / 0.5201 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002164/0.3752, allocations: 0.9866 MB / 0.5211 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009868/0.3851, allocations: 7.046 MB / 0.528 GB, free: 12.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004769/0.3899, allocations: 3.585 MB / 0.5315 GB, free: 11.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005718/0.3956, allocations: 2.258 MB / 0.5337 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006357/0.402, allocations: 3.37 MB / 0.537 GB, free: 8.672 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00136/0.4033, allocations: 485.9 kB / 0.5374 GB, free: 8.672 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003039/0.4064, allocations: 1.383 MB / 0.5388 GB, free: 8.188 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002655/0.409, allocations: 2.922 MB / 0.5416 GB, free: 6.473 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002808/0.4118, allocations: 2.383 MB / 0.544 GB, free: 4.836 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01145/0.4233, allocations: 10.47 MB / 0.5542 GB, free: 11.29 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4233, allocations: 3.938 kB / 0.5542 GB, free: 11.29 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4233, allocations: 0 / 0.5542 GB, free: 11.29 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002549/0.4235, allocations: 0 / 0.5542 GB, free: 11.29 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.01579/0.4393, allocations: 7.377 MB / 0.5614 GB, free: 3.832 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.4393, allocations: 12.03 kB / 0.5614 GB, free: 3.82 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01727/0.4566, allocations: 4.068 MB / 0.5654 GB, free: 15.74 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01166/0.4683, allocations: 4.087 MB / 0.5694 GB, free: 11.6 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003327/0.4686, allocations: 320.4 kB / 0.5697 GB, free: 11.29 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002316/0.4709, allocations: 435.6 kB / 0.5701 GB, free: 10.86 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03029/0.5012, allocations: 15.82 MB / 0.5855 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001636/0.5014, allocations: 63.53 kB / 0.5856 GB, free: 10.03 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000629/0.502, allocations: 199.8 kB / 0.5858 GB, free: 9.832 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005413/0.5074, allocations: 3.219 MB / 0.5889 GB, free: 6.605 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0292/0.5366, allocations: 14.15 MB / 0.6028 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07695/0.6136, allocations: 53.58 MB / 0.6551 GB, free: 1.41 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01431/0.6279, allocations: 5.55 MB / 0.6605 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005259/0.6331, allocations: 3.392 MB / 0.6638 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02344/0.6566, allocations: 12.15 MB / 0.6757 GB, free: 12.23 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.652e-05/0.6566, allocations: 64.5 kB / 0.6757 GB, free: 12.15 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=292): time 6.012e-06/0.6567, allocations: 0 / 0.6757 GB, free: 12.15 MB / 0.5763 GB Notification: Performance of matching and sorting (n=342): time 0.4388/1.095, allocations: 43.54 MB / 0.7183 GB, free: 140.1 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.846e-05/1.096, allocations: 212.2 kB / 0.7185 GB, free: 139.9 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01154/1.107, allocations: 5.197 MB / 0.7235 GB, free: 138.1 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001138/1.108, allocations: 76.27 kB / 0.7236 GB, free: 138 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003144/1.111, allocations: 4.545 MB / 0.7281 GB, free: 134.8 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002016/1.113, allocations: 1.321 MB / 0.7293 GB, free: 133.8 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005646/1.119, allocations: 1.864 MB / 0.7312 GB, free: 133 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 6.526e-05/1.119, allocations: 301.1 kB / 0.7315 GB, free: 132.7 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007152/1.126, allocations: 4.833 MB / 0.7362 GB, free: 130.9 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009306/1.136, allocations: 9.862 MB / 0.7458 GB, free: 122.4 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01598/1.151, allocations: 15.61 MB / 0.7611 GB, free: 108.6 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000209/1.152, allocations: 48 kB / 0.7611 GB, free: 108.6 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1186) (initialization): time 0.04671/1.198, allocations: 19.54 MB / 0.7802 GB, free: 89 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002901/1.199, allocations: 80 kB / 0.7803 GB, free: 88.93 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003674/1.199, allocations: 175.9 kB / 0.7804 GB, free: 88.75 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02281/1.222, allocations: 5.942 MB / 0.7862 GB, free: 82.81 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007697/1.23, allocations: 2.113 MB / 0.7883 GB, free: 80.69 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02928/1.259, allocations: 25.7 MB / 0.8134 GB, free: 54.78 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008371/1.267, allocations: 0.554 MB / 0.8139 GB, free: 54.23 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001737/1.269, allocations: 0.519 MB / 0.8144 GB, free: 53.71 MB / 0.5763 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.006367/1.275, allocations: 3.087 MB / 0.8174 GB, free: 50.61 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001728/1.277, allocations: 484.8 kB / 0.8179 GB, free: 50.13 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03226/1.309, allocations: 12.94 MB / 0.8305 GB, free: 37.12 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.829e-05/1.309, allocations: 59.98 kB / 0.8306 GB, free: 37.07 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.719e-05/1.309, allocations: 8 kB / 0.8306 GB, free: 37.06 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.184e-05/1.309, allocations: 11.95 kB / 0.8306 GB, free: 37.05 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05227/1.362, allocations: 22.3 MB / 0.8524 GB, free: 14.33 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.898e-05/1.362, allocations: 7.938 kB / 0.8524 GB, free: 14.32 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0033/1.365, allocations: 0.589 MB / 0.853 GB, free: 13.73 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02003/1.385, allocations: 4.981 MB / 0.8578 GB, free: 8.742 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007243/1.386, allocations: 52 kB / 0.8579 GB, free: 8.691 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02951/1.415, allocations: 20.88 MB / 0.8783 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.116e-06/1.415, allocations: 4 kB / 0.8783 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04375/1.459, allocations: 17.53 MB / 0.8954 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001637/1.461, allocations: 446.6 kB / 0.8958 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001558/1.462, allocations: 56 kB / 0.8959 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003894/1.466, allocations: 263.6 kB / 0.8961 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001014/1.467, allocations: 201.5 kB / 0.8963 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004577/1.468, allocations: 87.66 kB / 0.8964 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.005798/1.473, allocations: 2.993 MB / 0.8993 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/1.473, allocations: 3.938 kB / 0.8993 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.008515/1.482, allocations: 1.73 MB / 0.901 GB, free: 12.16 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.0008378/1.483, allocations: 204.7 kB / 0.9012 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01891/1.502, allocations: 10.56 MB / 0.9115 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/1.502, allocations: 0 / 0.9115 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.006655/1.508, allocations: 3.81 MB / 0.9153 GB, free: 13.58 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004309/1.513, allocations: 0.521 MB / 0.9158 GB, free: 13.06 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2592/1.772, allocations: 16.35 MB / 0.9317 GB, free: 192.4 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00938/1.781, allocations: 4.122 MB / 0.9358 GB, free: 192 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.007368/1.789, allocations: 2.92 MB / 0.9386 GB, free: 192 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002253/1.791, allocations: 333.3 kB / 0.9389 GB, free: 192 MB / 0.6388 GB Notification: Performance of SimCode: time 1.162e-06/1.791, allocations: 0 / 0.9389 GB, free: 192 MB / 0.6388 GB Notification: Performance of Templates: time 0.1162/1.907, allocations: 72.35 MB / 1.01 GB, free: 153.7 MB / 0.6388 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.csv","/var/lib/jenkins1/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.528331534005702]