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.00097/0.00097, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.005021/0.005021, allocations: 160.8 kB / 24.7 MB, free: 9.441 MB / 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 0.9496/0.9496, allocations: 177 MB / 204.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2574/0.2574, allocations: 34.24 MB / 295.6 MB, free: 0.6641 MB / 266.7 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 2.655e-06/2.655e-06, allocations: 4 kB / 443.4 MB, free: 1.047 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.768e-05/3.034e-05, allocations: 2.281 kB / 443.4 MB, free: 1.043 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.2379/0.238, allocations: 11.66 MB / 455.1 MB, free: 37.58 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008096/0.2461, allocations: 4.602 MB / 459.7 MB, free: 34.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002736/0.2488, allocations: 118.4 kB / 459.8 MB, free: 34.62 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004232/0.253, allocations: 3.815 MB / 463.6 MB, free: 33 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005246/0.2583, allocations: 2.281 MB / 465.9 MB, free: 31.9 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002083/0.2604, allocations: 1.184 MB / 467.1 MB, free: 31.38 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.006396/0.2668, allocations: 7.723 MB / 474.8 MB, free: 28.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004153/0.2709, allocations: 4.291 MB / 479.1 MB, free: 26.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005039/0.276, allocations: 3.176 MB / 482.3 MB, free: 25.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004277/0.2802, allocations: 3.152 MB / 485.4 MB, free: 24.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001501/0.2817, allocations: 447 kB / 485.9 MB, free: 24.51 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003094/0.2848, allocations: 1.407 MB / 487.3 MB, free: 24.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003102/0.2879, allocations: 2.652 MB / 489.9 MB, free: 23.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003322/0.2913, allocations: 1.655 MB / 491.6 MB, free: 22.33 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01087/0.3021, allocations: 8.947 MB / 0.4888 GB, free: 18.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.3021, allocations: 0 / 0.4888 GB, free: 18.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3021, allocations: 0 / 0.4888 GB, free: 18.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003394/0.3025, allocations: 0.8438 kB / 0.4888 GB, free: 18.54 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.01622/0.3187, allocations: 6.436 MB / 0.4951 GB, free: 14.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.3187, allocations: 9.875 kB / 0.4951 GB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007371/0.3261, allocations: 2.645 MB / 0.4977 GB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007886/0.334, allocations: 3.839 MB / 0.5014 GB, free: 10.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001519/0.3341, allocations: 286.3 kB / 0.5017 GB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001466/0.3356, allocations: 388.1 kB / 0.5021 GB, free: 9.676 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01626/0.3519, allocations: 12.06 MB / 0.5138 GB, free: 12.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001577/0.352, allocations: 63.52 kB / 0.5139 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005563/0.3526, allocations: 187.8 kB / 0.5141 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002064/0.3547, allocations: 2.136 MB / 0.5162 GB, free: 10.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01608/0.3707, allocations: 10.34 MB / 0.5263 GB, free: 76 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04836/0.4191, allocations: 44.05 MB / 0.5693 GB, free: 2.922 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008871/0.428, allocations: 5.307 MB / 0.5745 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002608/0.4306, allocations: 2.696 MB / 0.5771 GB, free: 10.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01082/0.4414, allocations: 8.03 MB / 0.5849 GB, free: 2.812 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/0.4414, allocations: 55.86 kB / 0.585 GB, free: 2.75 MB / 490.7 MB Notification: Performance of pre-optimization done (n=206): time 5.52e-06/0.4414, allocations: 0 / 0.585 GB, free: 2.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=262): time 0.07154/0.513, allocations: 36.28 MB / 0.6204 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.5131, allocations: 205.9 kB / 0.6206 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006503/0.5196, allocations: 4.682 MB / 0.6252 GB, free: 9.527 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008054/0.5204, allocations: 61.7 kB / 0.6252 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002629/0.523, allocations: 3.671 MB / 0.6288 GB, free: 5.754 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001217/0.5242, allocations: 0.9999 MB / 0.6298 GB, free: 4.746 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001725/0.526, allocations: 1.417 MB / 0.6312 GB, free: 3.32 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.272e-05/0.526, allocations: 305.1 kB / 0.6315 GB, free: 3.02 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1987/0.7247, allocations: 3.17 MB / 0.6346 GB, free: 152.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005865/0.7306, allocations: 7.096 MB / 0.6415 GB, free: 146.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009015/0.7396, allocations: 10.95 MB / 0.6522 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001157/0.7397, allocations: 41.05 kB / 0.6522 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.0197/0.7594, allocations: 13.67 MB / 0.6656 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.371e-05/0.7595, allocations: 63.66 kB / 0.6656 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001297/0.7596, allocations: 133.7 kB / 0.6658 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007399/0.767, allocations: 4.382 MB / 0.67 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003783/0.7708, allocations: 1.478 MB / 0.6715 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02885/0.7997, allocations: 28.31 MB / 0.6991 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006049/0.8057, allocations: 499.9 kB / 0.6996 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001598/0.8073, allocations: 406.1 kB / 0.7 GB, free: 119.3 MB / 0.5261 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.005343/0.8127, allocations: 2.479 MB / 0.7024 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000946/0.8136, allocations: 417.5 kB / 0.7028 GB, free: 118 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00946/0.8231, allocations: 8.383 MB / 0.711 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-05/0.8231, allocations: 28 kB / 0.711 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.246e-05/0.8231, allocations: 12 kB / 0.711 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.62e-05/0.8232, allocations: 14.78 kB / 0.7111 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02111/0.8443, allocations: 15.31 MB / 0.726 GB, free: 97.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.072e-05/0.8443, allocations: 4 kB / 0.726 GB, free: 97.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008839/0.8452, allocations: 299.5 kB / 0.7263 GB, free: 97.03 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005694/0.8509, allocations: 3.964 MB / 0.7302 GB, free: 93.05 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005543/0.8514, allocations: 55.08 kB / 0.7302 GB, free: 93.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02065/0.8721, allocations: 27.11 MB / 0.7567 GB, free: 65.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.8721, allocations: 11.94 kB / 0.7567 GB, free: 65.77 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01291/0.885, allocations: 12.36 MB / 0.7688 GB, free: 53.32 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001409/0.8864, allocations: 436.2 kB / 0.7692 GB, free: 52.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006699/0.8871, allocations: 51.98 kB / 0.7692 GB, free: 52.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001458/0.8885, allocations: 235.6 kB / 0.7695 GB, free: 52.62 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000588/0.8891, allocations: 206 kB / 0.7697 GB, free: 52.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/0.8893, allocations: 71.98 kB / 0.7697 GB, free: 52.34 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003572/0.8928, allocations: 2.808 MB / 0.7725 GB, free: 49.52 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8928, allocations: 0 / 0.7725 GB, free: 49.52 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007353/0.9002, allocations: 1.593 MB / 0.774 GB, free: 47.94 MB / 0.5261 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.0008071/0.901, allocations: 211.4 kB / 0.7742 GB, free: 47.74 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009405/0.9104, allocations: 8.137 MB / 0.7822 GB, free: 39.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/0.9104, allocations: 3.719 kB / 0.7822 GB, free: 39.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00337/0.9138, allocations: 3.314 MB / 0.7854 GB, free: 36.25 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002797/0.9166, allocations: 0.518 MB / 0.7859 GB, free: 35.75 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01649/0.9331, allocations: 13.08 MB / 0.7987 GB, free: 22.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003516/0.9366, allocations: 3.376 MB / 0.802 GB, free: 19.19 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001119/0.9377, allocations: 316.4 kB / 0.8023 GB, free: 18.88 MB / 0.5261 GB Notification: Performance of SimCode: time 1.854e-06/0.9377, allocations: 0 / 0.8023 GB, free: 18.88 MB / 0.5261 GB Notification: Performance of Templates: time 0.2967/1.234, allocations: 143.6 MB / 0.9426 GB, free: 107.5 MB / 0.5573 GB " [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=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.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: 11.463546148501337]