Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.001574/0.001574, allocations: 112.4 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.001896/0.001896, allocations: 204.1 kB / 24.46 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.547/1.547, allocations: 230.2 MB / 257.8 MB, free: 8.516 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.2359/0.2359, allocations: 46.89 MB / 361.1 MB, free: 4.742 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.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [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.002362/0.002362, allocations: 83.84 kB / 0.4967 GB, free: 7.859 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3036, allocations: 65.99 MB / 0.5612 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.0191/0.3227, allocations: 16.1 MB / 0.5769 GB, free: 4.887 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01168/0.3344, allocations: 5.487 MB / 0.5823 GB, free: 15.38 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002212/0.3366, allocations: 111.6 kB / 0.5824 GB, free: 15.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01022/0.3468, allocations: 5.191 MB / 0.5874 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007134/0.354, allocations: 2.665 MB / 0.59 GB, free: 7.391 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003494/0.3575, allocations: 1.384 MB / 0.5914 GB, free: 6.004 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0126/0.3701, allocations: 8.254 MB / 0.5995 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007061/0.3771, allocations: 4.842 MB / 0.6042 GB, free: 8.805 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005245/0.3824, allocations: 2.785 MB / 0.6069 GB, free: 6.012 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00659/0.3889, allocations: 4.027 MB / 0.6108 GB, free: 1.973 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001705/0.3907, allocations: 0.6328 MB / 0.6114 GB, free: 1.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003586/0.3942, allocations: 1.822 MB / 0.6132 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003667/0.3979, allocations: 3.421 MB / 0.6166 GB, free: 12.08 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006744/0.4046, allocations: 3.695 MB / 0.6202 GB, free: 8.367 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01559/0.4202, allocations: 11.97 MB / 0.6319 GB, free: 12.36 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.4202, allocations: 3.938 kB / 0.6319 GB, free: 12.35 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4202, allocations: 4 kB / 0.6319 GB, free: 12.35 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003136/0.4206, allocations: 0 / 0.6319 GB, free: 12.35 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.02311/0.4437, allocations: 8.077 MB / 0.6398 GB, free: 4.176 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.4437, allocations: 12.03 kB / 0.6398 GB, free: 4.164 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01556/0.4593, allocations: 3.097 MB / 0.6428 GB, free: 1.059 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01369/0.473, allocations: 5.063 MB / 0.6477 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00041/0.4734, allocations: 378.2 kB / 0.6481 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002059/0.4754, allocations: 0.5113 MB / 0.6486 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03188/0.5073, allocations: 15.52 MB / 0.6638 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002035/0.5075, allocations: 59.53 kB / 0.6638 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006726/0.5082, allocations: 239.8 kB / 0.664 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00441/0.5126, allocations: 2.548 MB / 0.6665 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02899/0.5416, allocations: 13.1 MB / 0.6793 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3522/0.8938, allocations: 57.41 MB / 0.7354 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01713/0.9109, allocations: 6.172 MB / 0.7414 GB, free: 138.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003652/0.9146, allocations: 3.224 MB / 0.7446 GB, free: 138.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01561/0.9302, allocations: 11.66 MB / 0.756 GB, free: 133.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.9302, allocations: 66.7 kB / 0.756 GB, free: 133.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=248): time 4.127e-06/0.9302, allocations: 2.078 kB / 0.756 GB, free: 133.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=343): time 0.1205/1.051, allocations: 39.4 MB / 0.7945 GB, free: 103.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.747e-05/1.051, allocations: 244.9 kB / 0.7947 GB, free: 102.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006217/1.057, allocations: 5.716 MB / 0.8003 GB, free: 97.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007245/1.058, allocations: 77.7 kB / 0.8004 GB, free: 97.12 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001841/1.06, allocations: 4.509 MB / 0.8048 GB, free: 92.95 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00125/1.061, allocations: 1.317 MB / 0.8061 GB, free: 91.65 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002043/1.063, allocations: 1.762 MB / 0.8078 GB, free: 89.88 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.407e-05/1.063, allocations: 301.1 kB / 0.8081 GB, free: 89.58 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004692/1.068, allocations: 4.097 MB / 0.8121 GB, free: 85.47 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006511/1.074, allocations: 8.672 MB / 0.8206 GB, free: 74.63 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01307/1.087, allocations: 13.56 MB / 0.8338 GB, free: 58.89 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001558/1.087, allocations: 55.94 kB / 0.8339 GB, free: 58.83 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.03/1.117, allocations: 16.37 MB / 0.8498 GB, free: 42.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.994e-05/1.117, allocations: 74.19 kB / 0.8499 GB, free: 42.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001432/1.118, allocations: 156 kB / 0.8501 GB, free: 42.19 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01304/1.131, allocations: 4.284 MB / 0.8542 GB, free: 37.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006193/1.137, allocations: 1.899 MB / 0.8561 GB, free: 36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02689/1.164, allocations: 21.55 MB / 0.8771 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007906/1.172, allocations: 0.5072 MB / 0.8776 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001455/1.173, allocations: 487.5 kB / 0.8781 GB, free: 13.33 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 720 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (1031): * Single equations (assignments): 1027 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,77,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005715/1.179, allocations: 3.119 MB / 0.8812 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001327/1.18, allocations: 0.5471 MB / 0.8817 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01889/1.199, allocations: 10.05 MB / 0.8915 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.742e-05/1.199, allocations: 36 kB / 0.8915 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.828e-05/1.199, allocations: 16 kB / 0.8916 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.125e-05/1.199, allocations: 20.39 kB / 0.8916 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04369/1.243, allocations: 20.01 MB / 0.9111 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.203e-05/1.243, allocations: 12.03 kB / 0.9111 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002676/1.246, allocations: 0.4914 MB / 0.9116 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01334/1.259, allocations: 3.837 MB / 0.9153 GB, free: 6.938 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005811/1.259, allocations: 83.77 kB / 0.9154 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03118/1.291, allocations: 19.1 MB / 0.9341 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.053e-05/1.291, allocations: 11.94 kB / 0.9341 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03015/1.321, allocations: 14.9 MB / 0.9486 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002065/1.323, allocations: 0.5988 MB / 0.9492 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009903/1.324, allocations: 63.98 kB / 0.9493 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0029/1.327, allocations: 231.7 kB / 0.9495 GB, free: 3.59 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007076/1.327, allocations: 226.2 kB / 0.9497 GB, free: 3.367 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002872/1.328, allocations: 94.02 kB / 0.9498 GB, free: 3.277 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.005833/1.334, allocations: 3.606 MB / 0.9533 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/1.334, allocations: 4 kB / 0.9533 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00763/1.341, allocations: 1.758 MB / 0.9551 GB, free: 13.94 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 2 (revolute.phi,revolute.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 (261): * Single equations (assignments): 257 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,64,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008296/1.342, allocations: 257.1 kB / 0.9553 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01652/1.359, allocations: 9.352 MB / 0.9644 GB, free: 4.328 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.476e-05/1.359, allocations: 8 kB / 0.9644 GB, free: 4.32 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.006174/1.365, allocations: 3.444 MB / 0.9678 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004504/1.369, allocations: 0.7302 MB / 0.9685 GB, free: 140 kB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2815/1.651, allocations: 16.21 MB / 0.9844 GB, free: 225.8 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005206/1.656, allocations: 4.834 MB / 0.9891 GB, free: 224.9 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.005309/1.661, allocations: 2.57 MB / 0.9916 GB, free: 224.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001132/1.662, allocations: 354.6 kB / 0.9919 GB, free: 224.8 MB / 0.6544 GB Notification: Performance of SimCode: time 1.042e-06/1.662, allocations: 0 / 0.9919 GB, free: 224.8 MB / 0.6544 GB Notification: Performance of Templates: time 0.1047/1.767, allocations: 74.38 MB / 1.065 GB, free: 161.8 MB / 0.6544 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.88967579882592]