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.001395/0.001395, allocations: 77.7 kB / 21.25 MB, free: 0.5469 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.001447/0.001447, allocations: 160.8 kB / 24.5 MB, free: 3.711 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.432/1.432, allocations: 177.1 MB / 204.7 MB, free: 8.973 MB / 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.2042/0.2042, allocations: 34.25 MB / 295.4 MB, free: 14.49 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.002451/0.002451, allocations: 83.86 kB / 443.1 MB, free: 6.5 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3652, allocations: 66.05 MB / 0.4973 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.008567/0.3738, allocations: 10.53 MB / 0.5075 GB, free: 22.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007115/0.3809, allocations: 4.11 MB / 0.5116 GB, free: 20.31 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001263/0.3822, allocations: 87.91 kB / 0.5116 GB, free: 20.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004683/0.3868, allocations: 2.671 MB / 0.5143 GB, free: 19.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005862/0.3927, allocations: 2.042 MB / 0.5162 GB, free: 18.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002259/0.395, allocations: 0.9109 MB / 0.5171 GB, free: 17.83 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009088/0.404, allocations: 5.676 MB / 0.5227 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004207/0.4083, allocations: 2.809 MB / 0.5254 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003334/0.4116, allocations: 1.742 MB / 0.5271 GB, free: 13.65 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004448/0.416, allocations: 2.588 MB / 0.5297 GB, free: 12.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001239/0.4173, allocations: 389 kB / 0.53 GB, free: 12.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003848/0.4211, allocations: 1.293 MB / 0.5313 GB, free: 12.56 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002714/0.4238, allocations: 2.235 MB / 0.5335 GB, free: 11.72 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002384/0.4262, allocations: 1.825 MB / 0.5352 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007717/0.4339, allocations: 7.915 MB / 0.543 GB, free: 5.055 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.4339, allocations: 0.75 kB / 0.543 GB, free: 5.055 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4339, allocations: 3.984 kB / 0.543 GB, free: 5.051 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001815/0.4341, allocations: 0.9375 kB / 0.543 GB, free: 5.051 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.01329/0.4474, allocations: 5.555 MB / 0.5484 GB, free: 1.023 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.4475, allocations: 12.03 kB / 0.5484 GB, free: 1.012 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01258/0.46, allocations: 2.611 MB / 0.551 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01052/0.4706, allocations: 3.305 MB / 0.5542 GB, free: 11.04 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002505/0.4708, allocations: 242.5 kB / 0.5544 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001402/0.4722, allocations: 335.7 kB / 0.5547 GB, free: 10.47 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02285/0.4951, allocations: 10.94 MB / 0.5654 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001673/0.4952, allocations: 51.59 kB / 0.5655 GB, free: 14.72 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004969/0.4957, allocations: 155.8 kB / 0.5656 GB, free: 14.57 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003429/0.4991, allocations: 1.998 MB / 0.5676 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01993/0.5191, allocations: 9.42 MB / 0.5768 GB, free: 3.129 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0535/0.5726, allocations: 38.1 MB / 0.614 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01108/0.5837, allocations: 3.774 MB / 0.6177 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002732/0.5864, allocations: 1.779 MB / 0.6194 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01317/0.5996, allocations: 5.797 MB / 0.6251 GB, free: 496 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.398e-05/0.5996, allocations: 55.44 kB / 0.6251 GB, free: 432 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=180): time 5.31e-06/0.5996, allocations: 4 kB / 0.6251 GB, free: 428 kB / 0.5137 GB Notification: Performance of matching and sorting (n=236): time 0.179/0.7787, allocations: 41.77 MB / 0.6659 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/0.7788, allocations: 201.9 kB / 0.6661 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006115/0.7849, allocations: 4.034 MB / 0.6701 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006376/0.7856, allocations: 61.7 kB / 0.6701 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002744/0.7883, allocations: 3.319 MB / 0.6734 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001414/0.7897, allocations: 0.9263 MB / 0.6743 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002319/0.792, allocations: 1.361 MB / 0.6756 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.7922, allocations: 305.1 kB / 0.6759 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006052/0.7982, allocations: 3.628 MB / 0.6794 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009981/0.8082, allocations: 7.344 MB / 0.6866 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01661/0.8248, allocations: 11.62 MB / 0.6979 GB, free: 2.117 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001577/0.825, allocations: 39.75 kB / 0.698 GB, free: 2.082 MB / 0.5919 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.2931/1.118, allocations: 16.13 MB / 0.7137 GB, free: 160.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.109e-05/1.118, allocations: 64.22 kB / 0.7138 GB, free: 160.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001104/1.118, allocations: 128.6 kB / 0.7139 GB, free: 160.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02547/1.144, allocations: 6.221 MB / 0.72 GB, free: 159.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005454/1.149, allocations: 1.494 MB / 0.7215 GB, free: 159.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03546/1.185, allocations: 27.13 MB / 0.7479 GB, free: 147.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006032/1.191, allocations: 411.8 kB / 0.7483 GB, free: 147.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001096/1.192, allocations: 382.5 kB / 0.7487 GB, free: 147.1 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 (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.003631/1.195, allocations: 2.221 MB / 0.7509 GB, free: 146.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007594/1.196, allocations: 369.3 kB / 0.7512 GB, free: 146.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02763/1.224, allocations: 11.22 MB / 0.7622 GB, free: 136.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-05/1.224, allocations: 24 kB / 0.7622 GB, free: 136.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.708e-05/1.224, allocations: 11.94 kB / 0.7622 GB, free: 136.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.501e-05/1.224, allocations: 15.95 kB / 0.7622 GB, free: 136.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04419/1.268, allocations: 18.9 MB / 0.7807 GB, free: 117.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.967e-05/1.268, allocations: 4 kB / 0.7807 GB, free: 117.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002067/1.27, allocations: 392 kB / 0.7811 GB, free: 117 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02027/1.29, allocations: 5.301 MB / 0.7862 GB, free: 111.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004729/1.291, allocations: 51.91 kB / 0.7863 GB, free: 111.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02406/1.315, allocations: 22.2 MB / 0.808 GB, free: 89.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/1.315, allocations: 11.94 kB / 0.808 GB, free: 89.35 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02959/1.345, allocations: 14.55 MB / 0.8222 GB, free: 74.86 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001416/1.346, allocations: 345.4 kB / 0.8225 GB, free: 74.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008922/1.347, allocations: 43.94 kB / 0.8226 GB, free: 74.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00243/1.349, allocations: 188.9 kB / 0.8227 GB, free: 74.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006315/1.35, allocations: 160.9 kB / 0.8229 GB, free: 74.15 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002077/1.35, allocations: 68.06 kB / 0.823 GB, free: 74.08 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00289/1.353, allocations: 2.357 MB / 0.8253 GB, free: 71.74 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/1.353, allocations: 0 / 0.8253 GB, free: 71.74 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005857/1.359, allocations: 1.346 MB / 0.8266 GB, free: 70.4 MB / 0.5919 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.0004946/1.359, allocations: 184.2 kB / 0.8267 GB, free: 70.23 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009715/1.369, allocations: 8.014 MB / 0.8346 GB, free: 62.23 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/1.369, allocations: 0 / 0.8346 GB, free: 62.23 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003649/1.373, allocations: 2.986 MB / 0.8375 GB, free: 59.23 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002796/1.376, allocations: 448.9 kB / 0.8379 GB, free: 58.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01712/1.393, allocations: 12.03 MB / 0.8497 GB, free: 46.69 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00319/1.396, allocations: 2.971 MB / 0.8526 GB, free: 43.68 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.003909/1.4, allocations: 1.915 MB / 0.8544 GB, free: 41.76 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000901/1.401, allocations: 249.1 kB / 0.8547 GB, free: 41.52 MB / 0.5919 GB Notification: Performance of SimCode: time 1.724e-06/1.401, allocations: 7.938 kB / 0.8547 GB, free: 41.51 MB / 0.5919 GB Notification: Performance of Templates: time 0.1047/1.505, allocations: 64.43 MB / 0.9176 GB, free: 9.371 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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins1/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: 7.790165359037928]