Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.001835/0.001835, allocations: 122.7 kB / 18.46 MB, free: 4.59 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.002194/0.002194, allocations: 207.3 kB / 21.4 MB, free: 1.645 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.516/1.516, allocations: 227.4 MB / 251.6 MB, free: 44 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.2409/0.2409, allocations: 46.17 MB / 351.1 MB, free: 14.26 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.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002271/0.002271, allocations: 81.17 kB / 490.2 MB, free: 28.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1392, allocations: 62.45 MB / 0.5397 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01558/0.1549, allocations: 13.38 MB / 0.5527 GB, free: 6.777 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01075/0.1657, allocations: 4.791 MB / 0.5574 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003288/0.169, allocations: 87.75 kB / 0.5575 GB, free: 1.883 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007626/0.1767, allocations: 3.738 MB / 0.5612 GB, free: 14.13 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006309/0.1831, allocations: 2.153 MB / 0.5633 GB, free: 11.97 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002585/0.1857, allocations: 1.08 MB / 0.5643 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01003/0.1957, allocations: 6.658 MB / 0.5708 GB, free: 4.219 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005913/0.2016, allocations: 4.51 MB / 0.5752 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004179/0.2059, allocations: 2.025 MB / 0.5772 GB, free: 13.61 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005165/0.211, allocations: 2.734 MB / 0.5799 GB, free: 10.87 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001262/0.2123, allocations: 428 kB / 0.5803 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003423/0.2158, allocations: 1.436 MB / 0.5817 GB, free: 9.012 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003161/0.219, allocations: 2.435 MB / 0.5841 GB, free: 6.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004034/0.223, allocations: 2.773 MB / 0.5868 GB, free: 3.781 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01281/0.2358, allocations: 8.779 MB / 0.5953 GB, free: 10.97 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.2359, allocations: 0 / 0.5953 GB, free: 10.97 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.2359, allocations: 4 kB / 0.5953 GB, free: 10.96 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002887/0.2362, allocations: 0 / 0.5953 GB, free: 10.96 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01611/0.2523, allocations: 6.394 MB / 0.6016 GB, free: 4.488 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.2524, allocations: 16.02 kB / 0.6016 GB, free: 4.473 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01101/0.2634, allocations: 2.556 MB / 0.6041 GB, free: 1.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.362/0.6254, allocations: 3.949 MB / 0.6079 GB, free: 54.94 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000342/0.6258, allocations: 283.8 kB / 0.6082 GB, free: 54.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001954/0.6277, allocations: 386.1 kB / 0.6086 GB, free: 54.75 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0277/0.6554, allocations: 12 MB / 0.6203 GB, free: 49.34 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003091/0.6558, allocations: 61.23 kB / 0.6204 GB, free: 49.31 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007324/0.6566, allocations: 182.8 kB / 0.6205 GB, free: 49.22 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004503/0.6611, allocations: 2.142 MB / 0.6226 GB, free: 48.82 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02229/0.6834, allocations: 10.37 MB / 0.6328 GB, free: 45.14 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05471/0.7381, allocations: 47.36 MB / 0.679 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0159/0.7541, allocations: 5.826 MB / 0.6847 GB, free: 8.008 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004591/0.7588, allocations: 2.987 MB / 0.6876 GB, free: 5.008 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01562/0.7744, allocations: 8.886 MB / 0.6963 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.329e-05/0.7745, allocations: 59.81 kB / 0.6964 GB, free: 12.04 MB / 494.1 MB Notification: Performance of pre-optimization done (n=206): time 5.5e-06/0.7745, allocations: 0 / 0.6964 GB, free: 12.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.1275/0.9021, allocations: 35.19 MB / 0.7307 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001707/0.9023, allocations: 205.9 kB / 0.7309 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008366/0.9107, allocations: 4.773 MB / 0.7356 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007486/0.9114, allocations: 61.7 kB / 0.7356 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003185/0.9146, allocations: 3.674 MB / 0.7392 GB, free: 96 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001694/0.9163, allocations: 1.019 MB / 0.7402 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002214/0.9186, allocations: 1.433 MB / 0.7416 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.9187, allocations: 305.1 kB / 0.7419 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004888/0.9236, allocations: 3.168 MB / 0.745 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008186/0.9318, allocations: 7.043 MB / 0.7519 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01566/0.9475, allocations: 10.95 MB / 0.7626 GB, free: 4.383 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002102/0.9478, allocations: 39.94 kB / 0.7626 GB, free: 4.344 MB / 0.545 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.03139/0.9792, allocations: 13.78 MB / 0.7761 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.997e-05/0.9793, allocations: 64 kB / 0.7761 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000155/0.9795, allocations: 136 kB / 0.7763 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01406/0.9935, allocations: 4.377 MB / 0.7805 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005547/0.9991, allocations: 1.478 MB / 0.782 GB, free: 488 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04582/1.045, allocations: 29.03 MB / 0.8103 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005673/1.051, allocations: 411.5 kB / 0.8107 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001375/1.052, allocations: 419.9 kB / 0.8111 GB, free: 2.199 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[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 (798): * Single equations (assignments): 792 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,50,50.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,21)} Notification: Performance of prepare postOptimizeDAE: time 0.005112/1.057, allocations: 2.47 MB / 0.8135 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001271/1.059, allocations: 461 kB / 0.814 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01955/1.078, allocations: 8.483 MB / 0.8223 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.74e-05/1.078, allocations: 28 kB / 0.8223 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.306e-05/1.078, allocations: 12 kB / 0.8223 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.976e-05/1.078, allocations: 23.88 kB / 0.8223 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03849/1.117, allocations: 16.91 MB / 0.8388 GB, free: 5.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.523e-05/1.117, allocations: 4 kB / 0.8388 GB, free: 5.586 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001648/1.119, allocations: 303.5 kB / 0.8391 GB, free: 5.289 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01206/1.131, allocations: 3.963 MB / 0.843 GB, free: 1.312 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006219/1.131, allocations: 51.91 kB / 0.843 GB, free: 1.266 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3689/1.5, allocations: 27.79 MB / 0.8702 GB, free: 195.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.836e-06/1.5, allocations: 9.125 kB / 0.8702 GB, free: 195.7 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02042/1.521, allocations: 12.47 MB / 0.8824 GB, free: 191 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00156/1.522, allocations: 0.506 MB / 0.8829 GB, free: 190.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009661/1.523, allocations: 47.81 kB / 0.8829 GB, free: 190.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002299/1.526, allocations: 174.8 kB / 0.8831 GB, free: 190.9 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008887/1.527, allocations: 188.3 kB / 0.8833 GB, free: 190.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001964/1.527, allocations: 78.72 kB / 0.8833 GB, free: 190.8 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.004163/1.531, allocations: 2.999 MB / 0.8863 GB, free: 189.8 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/1.531, allocations: 3 kB / 0.8863 GB, free: 189.8 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0063/1.537, allocations: 1.447 MB / 0.8877 GB, free: 189.6 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 (158): * Single equations (assignments): 152 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,43,50.0%), (2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005364/1.538, allocations: 188.4 kB / 0.8879 GB, free: 189.5 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01178/1.55, allocations: 8.474 MB / 0.8961 GB, free: 185.4 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.251e-05/1.55, allocations: 0 / 0.8961 GB, free: 185.4 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00496/1.555, allocations: 3.549 MB / 0.8996 GB, free: 182.3 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003467/1.558, allocations: 0.584 MB / 0.9002 GB, free: 181.8 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01782/1.576, allocations: 12.59 MB / 0.9125 GB, free: 169.6 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004165/1.58, allocations: 3.92 MB / 0.9163 GB, free: 165.7 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.004042/1.584, allocations: 1.994 MB / 0.9182 GB, free: 163.8 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008392/1.585, allocations: 279.4 kB / 0.9185 GB, free: 163.5 MB / 0.6231 GB Notification: Performance of SimCode: time 1.052e-06/1.585, allocations: 0 / 0.9185 GB, free: 163.5 MB / 0.6231 GB Notification: Performance of Templates: time 0.0995/1.685, allocations: 69.16 MB / 0.9861 GB, free: 94.55 MB / 0.6231 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.321272653527558]