Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001771/0.001771, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.002005/0.002005, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.489/1.489, allocations: 230.2 MB / 257.8 MB, free: 8.512 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.253/0.253, allocations: 46.89 MB / 361.1 MB, free: 4.641 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002325/0.002325, allocations: 83.86 kB / 0.4967 GB, free: 7.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3467, allocations: 65.99 MB / 0.5612 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01582/0.3626, allocations: 13.47 MB / 0.5743 GB, free: 7.488 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01061/0.3732, allocations: 4.839 MB / 0.5791 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00255/0.3757, allocations: 95.69 kB / 0.5792 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007672/0.3834, allocations: 3.789 MB / 0.5829 GB, free: 14.74 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006211/0.3896, allocations: 2.21 MB / 0.585 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002826/0.3924, allocations: 1.084 MB / 0.5861 GB, free: 11.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0108/0.4032, allocations: 6.663 MB / 0.5926 GB, free: 4.758 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005067/0.4083, allocations: 3.26 MB / 0.5958 GB, free: 1.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004134/0.4124, allocations: 2.029 MB / 0.5977 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005557/0.418, allocations: 2.956 MB / 0.6006 GB, free: 12.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001292/0.4193, allocations: 428 kB / 0.601 GB, free: 12.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003139/0.4224, allocations: 1.49 MB / 0.6025 GB, free: 10.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002912/0.4253, allocations: 2.524 MB / 0.605 GB, free: 7.988 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00373/0.4291, allocations: 2.769 MB / 0.6077 GB, free: 5.203 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01144/0.4405, allocations: 8.79 MB / 0.6163 GB, free: 12.38 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.4405, allocations: 0 / 0.6163 GB, free: 12.38 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4405, allocations: 0 / 0.6163 GB, free: 12.38 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002527/0.4408, allocations: 0 / 0.6163 GB, free: 12.38 MB / 462.1 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.01629/0.457, allocations: 6.405 MB / 0.6225 GB, free: 5.887 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.4571, allocations: 12.03 kB / 0.6225 GB, free: 5.875 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01214/0.4692, allocations: 2.556 MB / 0.625 GB, free: 3.312 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0108/0.48, allocations: 3.959 MB / 0.6289 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002911/0.4803, allocations: 283.6 kB / 0.6291 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001703/0.482, allocations: 391.7 kB / 0.6295 GB, free: 14.64 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02483/0.5069, allocations: 11.99 MB / 0.6412 GB, free: 1.855 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001841/0.507, allocations: 59.53 kB / 0.6413 GB, free: 1.797 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006059/0.5076, allocations: 187.8 kB / 0.6415 GB, free: 1.613 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003592/0.5112, allocations: 2.132 MB / 0.6436 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02277/0.534, allocations: 10.37 MB / 0.6537 GB, free: 5.094 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06757/0.6016, allocations: 47.35 MB / 0.6999 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01569/0.6173, allocations: 5.612 MB / 0.7054 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003918/0.6212, allocations: 2.685 MB / 0.708 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01619/0.6374, allocations: 8.874 MB / 0.7167 GB, free: 2.91 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.246e-05/0.6374, allocations: 51.88 kB / 0.7167 GB, free: 2.852 MB / 0.545 GB Notification: Performance of pre-optimization done (n=206): time 4.829e-06/0.6374, allocations: 0 / 0.7167 GB, free: 2.852 MB / 0.545 GB Notification: Performance of matching and sorting (n=262): time 0.4066/1.044, allocations: 35.15 MB / 0.7511 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/1.044, allocations: 204 kB / 0.7513 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005472/1.05, allocations: 4.778 MB / 0.7559 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004218/1.05, allocations: 61.27 kB / 0.756 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001534/1.052, allocations: 3.68 MB / 0.7596 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006405/1.052, allocations: 1.017 MB / 0.7606 GB, free: 146 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001471/1.054, allocations: 1.427 MB / 0.762 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.904e-05/1.054, allocations: 313.1 kB / 0.7623 GB, free: 144.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00329/1.057, allocations: 3.176 MB / 0.7654 GB, free: 141.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004445/1.061, allocations: 7.043 MB / 0.7722 GB, free: 132.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008704/1.07, allocations: 10.95 MB / 0.7829 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.516e-05/1.07, allocations: 40 kB / 0.783 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02289/1.093, allocations: 13.71 MB / 0.7964 GB, free: 105.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.766e-05/1.093, allocations: 67.98 kB / 0.7964 GB, free: 105.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001088/1.093, allocations: 136 kB / 0.7966 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01114/1.104, allocations: 4.389 MB / 0.8008 GB, free: 101 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004489/1.109, allocations: 1.478 MB / 0.8023 GB, free: 99.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03116/1.14, allocations: 29.03 MB / 0.8306 GB, free: 70.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007345/1.147, allocations: 419.2 kB / 0.831 GB, free: 69.67 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001609/1.149, allocations: 408 kB / 0.8314 GB, free: 69.27 MB / 0.5606 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.005703/1.155, allocations: 2.472 MB / 0.8338 GB, free: 66.79 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001385/1.156, allocations: 457 kB / 0.8343 GB, free: 66.34 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02295/1.179, allocations: 8.419 MB / 0.8425 GB, free: 57.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.751e-05/1.179, allocations: 31.94 kB / 0.8425 GB, free: 57.87 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.497e-05/1.179, allocations: 16 kB / 0.8425 GB, free: 57.85 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.15e-05/1.179, allocations: 12.09 kB / 0.8425 GB, free: 57.84 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03694/1.216, allocations: 16.87 MB / 0.859 GB, free: 40.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.525e-05/1.216, allocations: 8.062 kB / 0.859 GB, free: 40.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001472/1.218, allocations: 307.5 kB / 0.8593 GB, free: 40.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01019/1.228, allocations: 3.961 MB / 0.8632 GB, free: 36.59 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005382/1.228, allocations: 51.98 kB / 0.8632 GB, free: 36.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03022/1.259, allocations: 27.79 MB / 0.8904 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/1.259, allocations: 4 kB / 0.8904 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02076/1.279, allocations: 12.42 MB / 0.9025 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001546/1.281, allocations: 0.5018 MB / 0.903 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009627/1.282, allocations: 47.92 kB / 0.903 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002455/1.284, allocations: 175.8 kB / 0.9032 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007737/1.285, allocations: 198.1 kB / 0.9034 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002175/1.285, allocations: 68 kB / 0.9035 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00518/1.291, allocations: 3.005 MB / 0.9064 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/1.291, allocations: 0 / 0.9064 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007466/1.298, allocations: 1.461 MB / 0.9078 GB, free: 6.305 MB / 0.5762 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.0007577/1.299, allocations: 183.7 kB / 0.908 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01636/1.315, allocations: 8.153 MB / 0.916 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/1.315, allocations: 0 / 0.916 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006629/1.322, allocations: 3.313 MB / 0.9192 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003959/1.326, allocations: 0.5722 MB / 0.9198 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02461/1.35, allocations: 12.72 MB / 0.9322 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005615/1.356, allocations: 3.922 MB / 0.936 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.004886/1.361, allocations: 1.995 MB / 0.938 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000927/1.362, allocations: 287.3 kB / 0.9382 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of SimCode: time 1.593e-06/1.362, allocations: 0 / 0.9382 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of Templates: time 0.4027/1.764, allocations: 72.11 MB / 1.009 GB, free: 196.2 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 8.470513542648405]