Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.001692/0.001692, allocations: 113.1 kB / 21.85 MB, free: 64 kB / 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.002021/0.002021, allocations: 201.8 kB / 25.13 MB, free: 3.578 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.443/1.443, allocations: 230.4 MB / 258.7 MB, free: 8.039 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.2484/0.2484, allocations: 46.93 MB / 362 MB, free: 4.227 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.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [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.002365/0.002365, allocations: 79.86 kB / 0.4978 GB, free: 7.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3448, allocations: 66.09 MB / 0.5623 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01203/0.3568, allocations: 10.21 MB / 0.5723 GB, free: 9.996 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008428/0.3653, allocations: 3.825 MB / 0.576 GB, free: 6.164 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/0.3668, allocations: 67.69 kB / 0.5761 GB, free: 6.098 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00395/0.3708, allocations: 1.978 MB / 0.578 GB, free: 4.113 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004559/0.3753, allocations: 1.688 MB / 0.5797 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.377, allocations: 0.616 MB / 0.5803 GB, free: 1.805 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005075/0.382, allocations: 3.357 MB / 0.5836 GB, free: 14.44 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002756/0.3848, allocations: 2.126 MB / 0.5856 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002/0.3868, allocations: 1.257 MB / 0.5869 GB, free: 10.99 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002641/0.3894, allocations: 1.814 MB / 0.5886 GB, free: 9.172 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005534/0.39, allocations: 256 kB / 0.5889 GB, free: 8.922 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00191/0.3919, allocations: 0.9283 MB / 0.5898 GB, free: 7.992 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001665/0.3936, allocations: 1.597 MB / 0.5914 GB, free: 6.391 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002173/0.3957, allocations: 1.817 MB / 0.5931 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007439/0.4032, allocations: 5.827 MB / 0.5988 GB, free: 14.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.4032, allocations: 3.984 kB / 0.5988 GB, free: 14.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4032, allocations: 4 kB / 0.5988 GB, free: 14.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001933/0.4034, allocations: 0 / 0.5988 GB, free: 14.71 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.009589/0.413, allocations: 4.019 MB / 0.6028 GB, free: 10.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.413, allocations: 8.031 kB / 0.6028 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006268/0.4193, allocations: 1.804 MB / 0.6045 GB, free: 8.816 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004798/0.4241, allocations: 1.857 MB / 0.6063 GB, free: 6.914 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002005/0.4243, allocations: 201.1 kB / 0.6065 GB, free: 6.715 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008324/0.4251, allocations: 263.8 kB / 0.6068 GB, free: 6.457 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01681/0.4419, allocations: 8.494 MB / 0.6151 GB, free: 13.28 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000107/0.442, allocations: 43.62 kB / 0.6151 GB, free: 13.24 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003779/0.4424, allocations: 127.9 kB / 0.6152 GB, free: 13.11 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00326/0.4457, allocations: 1.691 MB / 0.6169 GB, free: 11.42 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01589/0.4616, allocations: 7.118 MB / 0.6238 GB, free: 4.297 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04468/0.5062, allocations: 33.86 MB / 0.6569 GB, free: 1.426 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007521/0.5138, allocations: 2.722 MB / 0.6596 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002207/0.516, allocations: 1.361 MB / 0.6609 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007462/0.5234, allocations: 3.7 MB / 0.6645 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.006e-05/0.5235, allocations: 47.22 kB / 0.6646 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=121): time 4.278e-06/0.5235, allocations: 0 / 0.6646 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of matching and sorting (n=129): time 0.03005/0.5535, allocations: 11.57 MB / 0.6759 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001389/0.5537, allocations: 174.8 kB / 0.676 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005727/0.5594, allocations: 3.718 MB / 0.6797 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002739/0.5597, allocations: 45.7 kB / 0.6797 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002493/0.5622, allocations: 2.858 MB / 0.6825 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007927/0.563, allocations: 0.5468 MB / 0.683 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001477/0.5644, allocations: 1.084 MB / 0.6841 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.5646, allocations: 309.1 kB / 0.6844 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002759/0.5673, allocations: 1.712 MB / 0.686 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006066/0.5734, allocations: 5.153 MB / 0.6911 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01066/0.5841, allocations: 7.425 MB / 0.6983 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001449/0.5842, allocations: 36 kB / 0.6984 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of matching and sorting (n=696) (initialization): time 0.0153/0.5995, allocations: 6.743 MB / 0.705 GB, free: 12.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001921/0.5997, allocations: 67.94 kB / 0.705 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002293/0.5999, allocations: 120 kB / 0.7051 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007663/0.6007, allocations: 316.7 kB / 0.7054 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004331/0.605, allocations: 1.244 MB / 0.7066 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00314/0.6082, allocations: 2.402 MB / 0.709 GB, free: 8.266 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003814/0.612, allocations: 295.6 kB / 0.7093 GB, free: 7.977 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009416/0.6129, allocations: 332 kB / 0.7096 GB, free: 7.652 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (668): * Single equations (assignments): 664 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003946/0.6169, allocations: 1.787 MB / 0.7113 GB, free: 5.852 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009818/0.6178, allocations: 321.8 kB / 0.7116 GB, free: 5.535 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005987/0.6238, allocations: 2.371 MB / 0.714 GB, free: 3.148 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.402e-05/0.6239, allocations: 20.03 kB / 0.714 GB, free: 3.129 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.755e-05/0.6239, allocations: 4 kB / 0.714 GB, free: 3.125 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.809e-05/0.6239, allocations: 3.984 kB / 0.714 GB, free: 3.121 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0144/0.6383, allocations: 5.874 MB / 0.7197 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.689e-05/0.6383, allocations: 11.88 kB / 0.7197 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000877/0.6392, allocations: 175.8 kB / 0.7199 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002202/0.6414, allocations: 0.7108 MB / 0.7206 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00016/0.6416, allocations: 23.98 kB / 0.7206 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006704/0.6483, allocations: 4.713 MB / 0.7252 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.6483, allocations: 4 kB / 0.7252 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007737/0.656, allocations: 4.35 MB / 0.7295 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009955/0.657, allocations: 297.7 kB / 0.7298 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006254/0.6576, allocations: 20 kB / 0.7298 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/0.659, allocations: 75.84 kB / 0.7298 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002366/0.6592, allocations: 68.52 kB / 0.7299 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.6593, allocations: 40.05 kB / 0.73 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004532/0.6638, allocations: 2.323 MB / 0.7322 GB, free: 256 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.6638, allocations: 0 / 0.7322 GB, free: 256 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.3156/0.9794, allocations: 0.7971 MB / 0.733 GB, free: 154.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (96): * Single equations (assignments): 92 * 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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003669/0.9798, allocations: 146.1 kB / 0.7331 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005862/0.9856, allocations: 3.901 MB / 0.7369 GB, free: 154 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.9856, allocations: 3.875 kB / 0.7369 GB, free: 154 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00127/0.9869, allocations: 1.047 MB / 0.738 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/0.9889, allocations: 391.9 kB / 0.7383 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009962/0.9989, allocations: 7.438 MB / 0.7456 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002085/1.001, allocations: 2.781 MB / 0.7483 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003097/1.004, allocations: 1.652 MB / 0.7499 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005525/1.005, allocations: 222.1 kB / 0.7502 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.272e-06/1.005, allocations: 0 / 0.7502 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.04926/1.054, allocations: 31.82 MB / 0.7812 GB, free: 117 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.021439136937261]