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.001725/0.001725, allocations: 119 kB / 19.13 MB, free: 3.922 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.002036/0.002037, allocations: 214.5 kB / 22.08 MB, free: 0.9727 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.465/1.465, allocations: 227.4 MB / 252.3 MB, free: 64 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.2292/0.2292, allocations: 46.17 MB / 351.8 MB, free: 14.29 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.00224/0.00224, allocations: 80.48 kB / 490.9 MB, free: 27.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1275, allocations: 62.44 MB / 0.5403 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.01366/0.1412, allocations: 12.03 MB / 0.5521 GB, free: 8.195 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01035/0.1516, allocations: 4.318 MB / 0.5563 GB, free: 3.859 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002056/0.1537, allocations: 75.75 kB / 0.5564 GB, free: 3.785 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005231/0.159, allocations: 2.737 MB / 0.559 GB, free: 1.039 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005784/0.1648, allocations: 1.969 MB / 0.561 GB, free: 15.06 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002163/0.167, allocations: 0.9085 MB / 0.5618 GB, free: 14.15 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008832/0.1758, allocations: 5.67 MB / 0.5674 GB, free: 8.473 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005308/0.1812, allocations: 3.354 MB / 0.5707 GB, free: 5.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003242/0.1844, allocations: 1.709 MB / 0.5723 GB, free: 3.355 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00421/0.1887, allocations: 2.512 MB / 0.5748 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001499/0.1902, allocations: 388 kB / 0.5752 GB, free: 468 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003455/0.1937, allocations: 1.381 MB / 0.5765 GB, free: 15.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003095/0.1968, allocations: 2.17 MB / 0.5786 GB, free: 12.9 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00412/0.2009, allocations: 2.427 MB / 0.581 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0108/0.2118, allocations: 7.872 MB / 0.5887 GB, free: 2.555 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.2118, allocations: 4 kB / 0.5887 GB, free: 2.551 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.2118, allocations: 0 / 0.5887 GB, free: 2.551 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000257/0.2121, allocations: 0 / 0.5887 GB, free: 2.551 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.01341/0.2255, allocations: 5.625 MB / 0.5942 GB, free: 12.84 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.2256, allocations: 11.97 kB / 0.5942 GB, free: 12.83 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01161/0.2372, allocations: 2.505 MB / 0.5966 GB, free: 10.32 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00804/0.2453, allocations: 3.377 MB / 0.5999 GB, free: 6.887 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002186/0.2455, allocations: 246.5 kB / 0.6002 GB, free: 6.645 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001246/0.2468, allocations: 335.7 kB / 0.6005 GB, free: 6.316 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3157/0.5625, allocations: 10.87 MB / 0.6111 GB, free: 52.55 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001764/0.5627, allocations: 47.05 kB / 0.6111 GB, free: 52.53 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005032/0.5632, allocations: 157.5 kB / 0.6113 GB, free: 52.46 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004108/0.5673, allocations: 2.002 MB / 0.6133 GB, free: 52.1 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0226/0.5899, allocations: 9.44 MB / 0.6225 GB, free: 49.22 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04088/0.6308, allocations: 41.13 MB / 0.6626 GB, free: 16.43 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009291/0.6402, allocations: 4.26 MB / 0.6668 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002085/0.6423, allocations: 1.938 MB / 0.6687 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008608/0.6509, allocations: 7.612 MB / 0.6761 GB, free: 2.254 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.651, allocations: 44.78 kB / 0.6762 GB, free: 2.203 MB / 462.1 MB Notification: Performance of pre-optimization done (n=180): time 4.298e-06/0.651, allocations: 4 kB / 0.6762 GB, free: 2.199 MB / 462.1 MB Notification: Performance of matching and sorting (n=236): time 0.1711/0.8221, allocations: 41.17 MB / 0.7164 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000149/0.8223, allocations: 205.9 kB / 0.7166 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006517/0.8288, allocations: 4.318 MB / 0.7208 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006356/0.8295, allocations: 57.7 kB / 0.7208 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002758/0.8323, allocations: 3.287 MB / 0.7241 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001374/0.8337, allocations: 0.9225 MB / 0.725 GB, free: 392 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0022/0.8359, allocations: 1.365 MB / 0.7263 GB, free: 15 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.836, allocations: 308.9 kB / 0.7266 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005392/0.8414, allocations: 3.623 MB / 0.7301 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008476/0.8499, allocations: 7.302 MB / 0.7373 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01529/0.8652, allocations: 11.63 MB / 0.7486 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.262e-05/0.8653, allocations: 39.94 kB / 0.7486 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=856) (initialization): time 0.04206/0.9074, allocations: 16.23 MB / 0.7645 GB, free: 4.273 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.767e-05/0.9075, allocations: 60 kB / 0.7645 GB, free: 4.215 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001479/0.9077, allocations: 128.9 kB / 0.7647 GB, free: 4.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02519/0.9329, allocations: 6.225 MB / 0.7707 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005629/0.9386, allocations: 1.489 MB / 0.7722 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03987/0.9785, allocations: 27.64 MB / 0.7992 GB, free: 432 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006607/0.9851, allocations: 415.5 kB / 0.7996 GB, free: 16 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001131/0.9863, allocations: 388 kB / 0.8 GB, free: 15.63 MB / 0.5919 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 (779): * Single equations (assignments): 774 * 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.0045/0.9908, allocations: 2.223 MB / 0.8021 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001034/0.9918, allocations: 413.2 kB / 0.8025 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03217/1.024, allocations: 11.3 MB / 0.8136 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-05/1.024, allocations: 27.94 kB / 0.8136 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.548e-05/1.024, allocations: 12 kB / 0.8136 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.355e-05/1.024, allocations: 7.969 kB / 0.8136 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04838/1.073, allocations: 20.65 MB / 0.8338 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.935e-05/1.073, allocations: 8.125 kB / 0.8338 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002092/1.075, allocations: 387.4 kB / 0.8341 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02162/1.096, allocations: 5.304 MB / 0.8393 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005381/1.097, allocations: 40 kB / 0.8394 GB, free: 6.703 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3852/1.482, allocations: 22.69 MB / 0.8615 GB, free: 205.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.475e-05/1.482, allocations: 10.23 kB / 0.8615 GB, free: 205.8 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03197/1.514, allocations: 14.62 MB / 0.8758 GB, free: 200.9 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/1.515, allocations: 463.7 kB / 0.8763 GB, free: 200.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008786/1.516, allocations: 44.12 kB / 0.8763 GB, free: 200.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002542/1.519, allocations: 187.7 kB / 0.8765 GB, free: 200.8 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008033/1.52, allocations: 153.3 kB / 0.8766 GB, free: 200.7 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000209/1.52, allocations: 58.16 kB / 0.8767 GB, free: 200.7 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003998/1.524, allocations: 2.706 MB / 0.8793 GB, free: 199.8 MB / 0.6231 GB Notification: Performance of sort global known variables: time 5.01e-07/1.524, allocations: 2.344 kB / 0.8793 GB, free: 199.8 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.006641/1.531, allocations: 1.355 MB / 0.8806 GB, free: 199.7 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 (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.0006965/1.531, allocations: 181.3 kB / 0.8808 GB, free: 199.5 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01053/1.542, allocations: 8.354 MB / 0.889 GB, free: 196.3 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/1.542, allocations: 3.938 kB / 0.889 GB, free: 196.3 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00388/1.546, allocations: 3.217 MB / 0.8921 GB, free: 193.8 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003171/1.549, allocations: 0.5057 MB / 0.8926 GB, free: 193.4 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01579/1.565, allocations: 12.39 MB / 0.9047 GB, free: 181.2 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003069/1.568, allocations: 3.48 MB / 0.9081 GB, free: 177.7 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001313/1.569, allocations: 307.4 kB / 0.9084 GB, free: 177.4 MB / 0.6231 GB Notification: Performance of SimCode: time 2.464e-06/1.569, allocations: 0 / 0.9084 GB, free: 177.4 MB / 0.6231 GB Notification: Performance of Templates: time 0.1143/1.684, allocations: 110.1 MB / 1.016 GB, free: 67.53 MB / 0.6231 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.59756639006082]