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.002352/0.002352, allocations: 103.5 kB / 20.97 MB, free: 3.453 MB / 18.57 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.0027/0.0027, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 18.57 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.65/1.65, allocations: 177 MB / 204.4 MB, free: 5.598 MB / 186.7 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.389/0.389, allocations: 34.25 MB / 295.2 MB, free: 0.6328 MB / 266.7 MB " [Timeout remaining time 179] 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 2.124e-06/2.124e-06, allocations: 0 / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.23e-05/3.442e-05, allocations: 8 kB / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.03144/0.03147, allocations: 12.86 MB / 390.1 MB, free: 5.969 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0168/0.04827, allocations: 4.725 MB / 394.8 MB, free: 1.23 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003623/0.0519, allocations: 111.4 kB / 394.9 MB, free: 1.121 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009541/0.06144, allocations: 3.991 MB / 398.9 MB, free: 13.12 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00733/0.06877, allocations: 2.305 MB / 401.2 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003361/0.07213, allocations: 1.189 MB / 402.4 MB, free: 9.609 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01231/0.08443, allocations: 7.724 MB / 410.1 MB, free: 1.871 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008051/0.09249, allocations: 4.431 MB / 414.5 MB, free: 13.37 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008127/0.1006, allocations: 3.196 MB / 417.7 MB, free: 10.17 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006418/0.107, allocations: 3.227 MB / 421 MB, free: 6.934 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001593/0.1086, allocations: 444 kB / 421.4 MB, free: 6.5 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003809/0.1124, allocations: 1.4 MB / 422.8 MB, free: 5.098 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004561/0.117, allocations: 2.677 MB / 425.5 MB, free: 2.414 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004363/0.1214, allocations: 1.655 MB / 427.1 MB, free: 0.7539 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01459/0.1359, allocations: 8.965 MB / 436.1 MB, free: 7.762 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.136, allocations: 4 kB / 436.1 MB, free: 7.758 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.338e-06/0.136, allocations: 3.984 kB / 436.1 MB, free: 7.754 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003188/0.1363, allocations: 4 kB / 436.1 MB, free: 7.75 MB / 410.7 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.02295/0.1592, allocations: 7.393 MB / 443.5 MB, free: 292 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.1593, allocations: 12.03 kB / 443.5 MB, free: 280 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1682/0.3275, allocations: 3.082 MB / 446.6 MB, free: 97 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009614/0.3371, allocations: 3.503 MB / 450.1 MB, free: 96.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002628/0.3373, allocations: 284.9 kB / 450.4 MB, free: 96.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001696/0.339, allocations: 386.4 kB / 450.8 MB, free: 96.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.017/0.356, allocations: 7.848 MB / 458.6 MB, free: 91.92 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002555/0.3563, allocations: 54 kB / 458.7 MB, free: 91.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001243/0.3575, allocations: 179.7 kB / 458.8 MB, free: 91.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003083/0.3606, allocations: 2.151 MB / 461 MB, free: 91.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01511/0.3757, allocations: 4.479 MB / 465.5 MB, free: 90.63 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06438/0.4401, allocations: 54.94 MB / 0.5082 GB, free: 47.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01256/0.4527, allocations: 3.269 MB / 0.5114 GB, free: 44.53 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002053/0.4547, allocations: 0.9349 MB / 0.5123 GB, free: 43.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01273/0.4674, allocations: 5.708 MB / 0.5179 GB, free: 38.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.4675, allocations: 58.64 kB / 0.5179 GB, free: 38.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=206): time 6.102e-06/0.4675, allocations: 0 / 0.5179 GB, free: 38.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=262): time 0.1043/0.5718, allocations: 27.32 MB / 0.5446 GB, free: 11.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.919e-05/0.5718, allocations: 209.9 kB / 0.5448 GB, free: 11.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007109/0.5789, allocations: 5.136 MB / 0.5498 GB, free: 6.246 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006664/0.5796, allocations: 65.69 kB / 0.5499 GB, free: 6.176 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002426/0.582, allocations: 4.094 MB / 0.5539 GB, free: 2.043 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001597/0.5836, allocations: 1.121 MB / 0.555 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002896/0.5865, allocations: 1.785 MB / 0.5567 GB, free: 15.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002601/0.5868, allocations: 476.8 kB / 0.5572 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002857/0.5896, allocations: 1.083 MB / 0.5582 GB, free: 13.56 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009213/0.5989, allocations: 7.08 MB / 0.5652 GB, free: 3.875 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01427/0.6131, allocations: 9.029 MB / 0.574 GB, free: 8.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001937/0.6133, allocations: 40 kB / 0.574 GB, free: 8.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02681/0.6401, allocations: 8.742 MB / 0.5826 GB, free: 15.46 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.6403, allocations: 60 kB / 0.5826 GB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000197/0.6405, allocations: 136 kB / 0.5827 GB, free: 15.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01544/0.6559, allocations: 3.67 MB / 0.5863 GB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00562/0.6615, allocations: 1.474 MB / 0.5878 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03144/0.693, allocations: 14.04 MB / 0.6015 GB, free: 11.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006574/0.6995, allocations: 0.4915 MB / 0.602 GB, free: 11.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001208/0.7007, allocations: 408 kB / 0.6023 GB, free: 10.81 MB / 474.7 MB 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.002866/0.7036, allocations: 0.8135 MB / 0.6031 GB, free: 9.98 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001317/0.7049, allocations: 489.2 kB / 0.6036 GB, free: 9.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01539/0.7203, allocations: 4.637 MB / 0.6081 GB, free: 4.824 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.844e-05/0.7204, allocations: 28 kB / 0.6082 GB, free: 4.797 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.927e-05/0.7204, allocations: 15.94 kB / 0.6082 GB, free: 4.781 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.797e-05/0.7205, allocations: 19.95 kB / 0.6082 GB, free: 4.762 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2456/0.9661, allocations: 11.83 MB / 0.6197 GB, free: 134.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.642e-05/0.9661, allocations: 11 kB / 0.6198 GB, free: 134.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001424/0.9675, allocations: 299.9 kB / 0.62 GB, free: 134.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01134/0.9789, allocations: 3.271 MB / 0.6232 GB, free: 134.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005026/0.9794, allocations: 55.27 kB / 0.6233 GB, free: 134.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02118/1.001, allocations: 13.08 MB / 0.6361 GB, free: 128.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/1.001, allocations: 10.25 kB / 0.6361 GB, free: 128.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0159/1.016, allocations: 6.14 MB / 0.6421 GB, free: 126.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001496/1.018, allocations: 431.2 kB / 0.6425 GB, free: 126.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008542/1.019, allocations: 52.78 kB / 0.6425 GB, free: 126.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002535/1.021, allocations: 239.8 kB / 0.6428 GB, free: 126.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007272/1.022, allocations: 198.9 kB / 0.6429 GB, free: 126.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000198/1.022, allocations: 70.19 kB / 0.643 GB, free: 126.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004721/1.027, allocations: 2.164 MB / 0.6451 GB, free: 125.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.027, allocations: 4.25 kB / 0.6451 GB, free: 125.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01246/1.039, allocations: 1.587 MB / 0.6467 GB, free: 125.8 MB / 474.7 MB 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.001049/1.04, allocations: 205.2 kB / 0.6469 GB, free: 125.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0182/1.059, allocations: 5.515 MB / 0.6523 GB, free: 123.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.589e-05/1.059, allocations: 1.562 kB / 0.6523 GB, free: 123.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00713/1.066, allocations: 2.357 MB / 0.6546 GB, free: 122.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005554/1.071, allocations: 0.5362 MB / 0.6551 GB, free: 122.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02331/1.095, allocations: 10.07 MB / 0.6649 GB, free: 117.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003469/1.098, allocations: 3.098 MB / 0.668 GB, free: 116.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003689/1.102, allocations: 1.677 MB / 0.6696 GB, free: 115.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007842/1.103, allocations: 275.2 kB / 0.6699 GB, free: 115.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.893e-06/1.103, allocations: 0 / 0.6699 GB, free: 115.3 MB / 474.7 MB Notification: Performance of Templates: time 0.09515/1.198, allocations: 67.83 MB / 0.7361 GB, free: 50.21 MB / 474.7 MB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.217386884032749]