Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.001498/0.001498, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002071/0.002071, allocations: 207.3 kB / 23.72 MB, free: 4.391 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.48/1.48, allocations: 230.5 MB / 257.4 MB, free: 7.781 MB / 206.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.2393/0.2393, allocations: 46.95 MB / 360.8 MB, free: 3.922 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.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002388/0.002388, allocations: 83.88 kB / 0.4966 GB, free: 7.051 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3776, allocations: 66.09 MB / 0.5612 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.01498/0.3926, allocations: 10.5 MB / 0.5714 GB, free: 9.422 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01058/0.4031, allocations: 4.126 MB / 0.5755 GB, free: 5.285 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002421/0.4056, allocations: 91.5 kB / 0.5755 GB, free: 5.195 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006208/0.4118, allocations: 2.667 MB / 0.5781 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00623/0.418, allocations: 2.05 MB / 0.5801 GB, free: 476 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002706/0.4207, allocations: 0.9125 MB / 0.581 GB, free: 15.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009664/0.4304, allocations: 5.675 MB / 0.5866 GB, free: 9.863 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004296/0.4347, allocations: 2.814 MB / 0.5893 GB, free: 7 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003403/0.4381, allocations: 1.74 MB / 0.591 GB, free: 5.254 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004586/0.4427, allocations: 2.586 MB / 0.5936 GB, free: 2.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001124/0.4438, allocations: 384 kB / 0.5939 GB, free: 2.285 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002876/0.4467, allocations: 1.299 MB / 0.5952 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00258/0.4492, allocations: 2.24 MB / 0.5974 GB, free: 14.74 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002758/0.452, allocations: 1.817 MB / 0.5991 GB, free: 12.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01044/0.4624, allocations: 7.915 MB / 0.6069 GB, free: 4.965 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.4625, allocations: 0 / 0.6069 GB, free: 4.965 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.4625, allocations: 0 / 0.6069 GB, free: 4.965 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002223/0.4627, allocations: 0 / 0.6069 GB, free: 4.965 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.01513/0.4778, allocations: 5.563 MB / 0.6123 GB, free: 15.34 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.4779, allocations: 8.031 kB / 0.6123 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/0.4891, allocations: 2.498 MB / 0.6148 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009481/0.4986, allocations: 3.316 MB / 0.618 GB, free: 9.453 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002278/0.4988, allocations: 234.5 kB / 0.6182 GB, free: 9.223 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001127/0.4999, allocations: 339.6 kB / 0.6185 GB, free: 8.891 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02191/0.5218, allocations: 10.92 MB / 0.6292 GB, free: 13.21 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001763/0.522, allocations: 55.52 kB / 0.6293 GB, free: 13.16 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004676/0.5225, allocations: 155.9 kB / 0.6294 GB, free: 13 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003474/0.526, allocations: 1.998 MB / 0.6314 GB, free: 11 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02141/0.5474, allocations: 9.416 MB / 0.6406 GB, free: 1.57 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05567/0.603, allocations: 37.97 MB / 0.6776 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01114/0.6142, allocations: 3.633 MB / 0.6812 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002819/0.617, allocations: 1.775 MB / 0.6829 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01228/0.6293, allocations: 5.767 MB / 0.6886 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.185e-05/0.6293, allocations: 59.44 kB / 0.6886 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=180): time 5.019e-06/0.6293, allocations: 0 / 0.6886 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=236): time 0.1702/0.7995, allocations: 40.99 MB / 0.7286 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001576/0.7997, allocations: 209.9 kB / 0.7288 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006535/0.8062, allocations: 4.026 MB / 0.7328 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007195/0.8069, allocations: 57.7 kB / 0.7328 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.3284/1.135, allocations: 3.314 MB / 0.7361 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001471/1.137, allocations: 0.9196 MB / 0.737 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002701/1.14, allocations: 1.36 MB / 0.7383 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.506e-05/1.14, allocations: 309.1 kB / 0.7386 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004556/1.144, allocations: 3.625 MB / 0.7421 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005892/1.15, allocations: 7.343 MB / 0.7493 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0109/1.161, allocations: 11.62 MB / 0.7606 GB, free: 138.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000107/1.161, allocations: 39.75 kB / 0.7607 GB, free: 138.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.03621/1.197, allocations: 16.15 MB / 0.7764 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.534e-05/1.197, allocations: 60 kB / 0.7765 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001158/1.197, allocations: 128 kB / 0.7766 GB, free: 124 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02264/1.22, allocations: 6.223 MB / 0.7827 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004937/1.225, allocations: 1.486 MB / 0.7842 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02962/1.255, allocations: 27.13 MB / 0.8107 GB, free: 88.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007389/1.262, allocations: 409.5 kB / 0.811 GB, free: 88.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009628/1.263, allocations: 387.8 kB / 0.8114 GB, free: 88.21 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * Number of states: 0 () * Number of discrete variables: 42 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.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 (778): * Single equations (assignments): 773 * Array equations: 3 * 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 {(3,51,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003152/1.266, allocations: 2.215 MB / 0.8136 GB, free: 86.06 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000737/1.267, allocations: 374.2 kB / 0.8139 GB, free: 85.69 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02729/1.294, allocations: 11.22 MB / 0.8249 GB, free: 74.44 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-05/1.294, allocations: 27.94 kB / 0.8249 GB, free: 74.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.968e-05/1.294, allocations: 12 kB / 0.8249 GB, free: 74.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.395e-05/1.294, allocations: 7.969 kB / 0.8249 GB, free: 74.39 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03968/1.334, allocations: 18.86 MB / 0.8434 GB, free: 55.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.43e-05/1.334, allocations: 4 kB / 0.8434 GB, free: 55.17 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002058/1.336, allocations: 387.4 kB / 0.8437 GB, free: 54.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02035/1.356, allocations: 5.301 MB / 0.8489 GB, free: 49.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005551/1.357, allocations: 51.11 kB / 0.849 GB, free: 49.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02492/1.382, allocations: 22.21 MB / 0.8706 GB, free: 27.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/1.382, allocations: 11.94 kB / 0.8707 GB, free: 27.01 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02993/1.412, allocations: 14.55 MB / 0.8849 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001471/1.413, allocations: 341.8 kB / 0.8852 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00081/1.414, allocations: 43.67 kB / 0.8852 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002339/1.416, allocations: 183.8 kB / 0.8854 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006007/1.417, allocations: 160.9 kB / 0.8856 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001891/1.417, allocations: 64 kB / 0.8856 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002963/1.42, allocations: 2.357 MB / 0.8879 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/1.42, allocations: 0 / 0.8879 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00648/1.427, allocations: 1.346 MB / 0.8892 GB, free: 7.926 MB / 0.5606 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 (167): * Single equations (assignments): 162 * Array equations: 3 * 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 {(3,45,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006002/1.427, allocations: 187 kB / 0.8894 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01097/1.438, allocations: 8.006 MB / 0.8972 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/1.438, allocations: 3.938 kB / 0.8972 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005271/1.443, allocations: 2.997 MB / 0.9002 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003438/1.447, allocations: 454.3 kB / 0.9006 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02364/1.471, allocations: 12.03 MB / 0.9123 GB, free: 196 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005106/1.476, allocations: 2.978 MB / 0.9153 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005184/1.481, allocations: 1.913 MB / 0.9171 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001114/1.482, allocations: 247.4 kB / 0.9174 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of SimCode: time 1.272e-06/1.482, allocations: 0 / 0.9174 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of Templates: time 0.425/1.907, allocations: 69.29 MB / 0.985 GB, free: 218.2 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.403024664148688]