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.001314/0.001314, allocations: 117.1 kB / 18.46 MB, free: 4.613 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.001383/0.001383, allocations: 205.8 kB / 21.4 MB, free: 1.668 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.556/1.556, allocations: 227.4 MB / 251.6 MB, free: 36 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.2504/0.2504, allocations: 46.17 MB / 351.1 MB, free: 14.23 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.002186/0.002186, allocations: 77.36 kB / 490.2 MB, free: 28.1 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.148, allocations: 62.44 MB / 0.5397 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.01512/0.1632, allocations: 12.03 MB / 0.5514 GB, free: 8.117 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01104/0.1743, allocations: 4.314 MB / 0.5556 GB, free: 3.785 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002433/0.1767, allocations: 71.81 kB / 0.5557 GB, free: 3.715 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005576/0.1823, allocations: 2.733 MB / 0.5584 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005975/0.1884, allocations: 1.98 MB / 0.5603 GB, free: 14.98 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002292/0.1907, allocations: 0.8969 MB / 0.5612 GB, free: 14.08 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009403/0.2001, allocations: 5.676 MB / 0.5667 GB, free: 8.398 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004881/0.205, allocations: 3.358 MB / 0.57 GB, free: 4.996 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003139/0.2082, allocations: 1.709 MB / 0.5717 GB, free: 3.281 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004262/0.2125, allocations: 2.508 MB / 0.5741 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001269/0.2138, allocations: 384 kB / 0.5745 GB, free: 400 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003144/0.2169, allocations: 1.385 MB / 0.5758 GB, free: 15 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002517/0.2195, allocations: 2.174 MB / 0.578 GB, free: 12.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003327/0.2228, allocations: 2.424 MB / 0.5803 GB, free: 10.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01527/0.2381, allocations: 7.876 MB / 0.588 GB, free: 2.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.2381, allocations: 0 / 0.588 GB, free: 2.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 5.27e-06/0.2382, allocations: 0 / 0.588 GB, free: 2.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003256/0.2385, allocations: 3.938 kB / 0.588 GB, free: 2.477 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.02661/0.2651, allocations: 5.63 MB / 0.5935 GB, free: 12.76 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.371e-05/0.2652, allocations: 8.031 kB / 0.5935 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01779/0.283, allocations: 2.505 MB / 0.596 GB, free: 10.24 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01194/0.295, allocations: 3.377 MB / 0.5993 GB, free: 6.809 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002955/0.2954, allocations: 242.4 kB / 0.5995 GB, free: 6.57 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001655/0.297, allocations: 343.7 kB / 0.5998 GB, free: 6.234 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3807/0.6778, allocations: 10.87 MB / 0.6104 GB, free: 52.31 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002066/0.678, allocations: 55.92 kB / 0.6105 GB, free: 52.29 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000587/0.6786, allocations: 156.9 kB / 0.6106 GB, free: 52.22 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003962/0.6826, allocations: 1.996 MB / 0.6126 GB, free: 51.86 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02512/0.7077, allocations: 9.445 MB / 0.6218 GB, free: 48.98 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04544/0.7532, allocations: 41.12 MB / 0.662 GB, free: 16.16 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009442/0.7627, allocations: 4.257 MB / 0.6661 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002064/0.7648, allocations: 1.941 MB / 0.668 GB, free: 9.801 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008977/0.7738, allocations: 7.608 MB / 0.6755 GB, free: 1.988 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.621e-05/0.7739, allocations: 63.48 kB / 0.6755 GB, free: 1.918 MB / 462.1 MB Notification: Performance of pre-optimization done (n=180): time 5.07e-06/0.7739, allocations: 3.938 kB / 0.6755 GB, free: 1.914 MB / 462.1 MB Notification: Performance of matching and sorting (n=236): time 0.166/0.9398, allocations: 41.15 MB / 0.7157 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001838/0.9401, allocations: 201.9 kB / 0.7159 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007478/0.9476, allocations: 4.314 MB / 0.7201 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007376/0.9483, allocations: 61.64 kB / 0.7202 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002727/0.9511, allocations: 3.283 MB / 0.7234 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001388/0.9525, allocations: 0.9225 MB / 0.7243 GB, free: 112 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002258/0.9547, allocations: 1.365 MB / 0.7256 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.9549, allocations: 309.1 kB / 0.7259 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005433/0.9603, allocations: 3.628 MB / 0.7295 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008752/0.9691, allocations: 7.299 MB / 0.7366 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01574/0.9849, allocations: 11.63 MB / 0.7479 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001058/0.985, allocations: 36 kB / 0.748 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of matching and sorting (n=856) (initialization): time 0.04136/1.026, allocations: 16.23 MB / 0.7638 GB, free: 3.992 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/1.027, allocations: 60 kB / 0.7639 GB, free: 3.934 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001558/1.027, allocations: 128 kB / 0.764 GB, free: 3.809 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02475/1.051, allocations: 6.218 MB / 0.7701 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005553/1.057, allocations: 1.493 MB / 0.7715 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04029/1.097, allocations: 27.64 MB / 0.7985 GB, free: 148 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006228/1.104, allocations: 423.4 kB / 0.7989 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001229/1.105, allocations: 387.9 kB / 0.7993 GB, free: 15.35 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.00434/1.109, allocations: 2.216 MB / 0.8015 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001001/1.11, allocations: 409.3 kB / 0.8018 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03127/1.142, allocations: 11.29 MB / 0.8129 GB, free: 1.402 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.236e-05/1.142, allocations: 28.41 kB / 0.8129 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.47e-05/1.142, allocations: 12 kB / 0.8129 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-05/1.142, allocations: 15.95 kB / 0.8129 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04746/1.189, allocations: 20.65 MB / 0.8331 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.608e-05/1.189, allocations: 8 kB / 0.8331 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002108/1.191, allocations: 392 kB / 0.8335 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02152/1.213, allocations: 5.304 MB / 0.8387 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005602/1.214, allocations: 48 kB / 0.8387 GB, free: 6.422 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3801/1.594, allocations: 22.69 MB / 0.8609 GB, free: 205.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.044e-05/1.594, allocations: 10.59 kB / 0.8609 GB, free: 205.5 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03133/1.625, allocations: 14.62 MB / 0.8751 GB, free: 200.6 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/1.626, allocations: 471.5 kB / 0.8756 GB, free: 200.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007239/1.627, allocations: 35.81 kB / 0.8756 GB, free: 200.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00227/1.629, allocations: 183.2 kB / 0.8758 GB, free: 200.4 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007379/1.63, allocations: 159.7 kB / 0.876 GB, free: 200.4 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002025/1.63, allocations: 64.83 kB / 0.876 GB, free: 200.4 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003155/1.633, allocations: 2.705 MB / 0.8787 GB, free: 199.5 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/1.633, allocations: 0 / 0.8787 GB, free: 199.5 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004954/1.638, allocations: 1.354 MB / 0.88 GB, free: 199.3 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.0004935/1.639, allocations: 187.9 kB / 0.8802 GB, free: 199.2 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.009825/1.649, allocations: 8.354 MB / 0.8883 GB, free: 196 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.649, allocations: 0 / 0.8883 GB, free: 196 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003566/1.652, allocations: 3.211 MB / 0.8915 GB, free: 193.4 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002871/1.655, allocations: 0.5117 MB / 0.892 GB, free: 193 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01537/1.67, allocations: 11.96 MB / 0.9036 GB, free: 181.2 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003104/1.674, allocations: 3.498 MB / 0.9071 GB, free: 177.7 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.003746/1.677, allocations: 1.96 MB / 0.909 GB, free: 175.8 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009041/1.678, allocations: 267.4 kB / 0.9092 GB, free: 175.6 MB / 0.6231 GB Notification: Performance of SimCode: time 1.763e-06/1.678, allocations: 0 / 0.9092 GB, free: 175.6 MB / 0.6231 GB Notification: Performance of Templates: time 0.09395/1.772, allocations: 66.68 MB / 0.9743 GB, free: 109 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.112256980501115]