Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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.001363/0.001363, allocations: 75.75 kB / 21.25 MB, free: 396 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.001484/0.001484, allocations: 159.7 kB / 24.49 MB, free: 3.453 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.442/1.442, allocations: 177.1 MB / 204.7 MB, free: 8.98 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.2089/0.2089, allocations: 34.24 MB / 295.4 MB, free: 14.48 MB / 286.1 MB " [Timeout remaining time 179] 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.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002662/0.002662, allocations: 79.88 kB / 443.2 MB, free: 6.484 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3378, allocations: 66.06 MB / 0.4973 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01072/0.3485, allocations: 11.4 MB / 0.5084 GB, free: 22.44 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009069/0.3576, allocations: 4.104 MB / 0.5124 GB, free: 19.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002404/0.36, allocations: 94.56 kB / 0.5125 GB, free: 19.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006907/0.3669, allocations: 3.596 MB / 0.516 GB, free: 18.24 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005826/0.3727, allocations: 2.041 MB / 0.518 GB, free: 17.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002384/0.3751, allocations: 0.8146 MB / 0.5188 GB, free: 16.92 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007902/0.383, allocations: 4.224 MB / 0.5229 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006082/0.3891, allocations: 3.668 MB / 0.5265 GB, free: 13.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004519/0.3936, allocations: 1.884 MB / 0.5284 GB, free: 12.78 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005548/0.3992, allocations: 2.461 MB / 0.5308 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002083/0.4013, allocations: 414.1 kB / 0.5312 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003706/0.405, allocations: 1.04 MB / 0.5322 GB, free: 11.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003843/0.4088, allocations: 2.252 MB / 0.5344 GB, free: 10.87 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005202/0.414, allocations: 1.941 MB / 0.5363 GB, free: 9.602 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01265/0.4267, allocations: 8.15 MB / 0.5442 GB, free: 3.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.4267, allocations: 0 / 0.5442 GB, free: 3.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.4267, allocations: 0 / 0.5442 GB, free: 3.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003917/0.4271, allocations: 0 / 0.5442 GB, free: 3.93 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: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.02496/0.452, allocations: 6.437 MB / 0.5505 GB, free: 14.83 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.4521, allocations: 8.031 kB / 0.5505 GB, free: 14.82 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008298/0.4604, allocations: 2.037 MB / 0.5525 GB, free: 12.78 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007188/0.4675, allocations: 2.639 MB / 0.5551 GB, free: 10.09 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002875/0.4678, allocations: 291.5 kB / 0.5554 GB, free: 9.805 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001656/0.4695, allocations: 399.7 kB / 0.5557 GB, free: 9.414 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02707/0.4966, allocations: 12.3 MB / 0.5678 GB, free: 12.39 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001652/0.4967, allocations: 43.62 kB / 0.5678 GB, free: 12.35 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006186/0.4973, allocations: 187.8 kB / 0.568 GB, free: 12.16 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004548/0.5019, allocations: 2.19 MB / 0.5701 GB, free: 9.973 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02617/0.5281, allocations: 11.26 MB / 0.5811 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06693/0.595, allocations: 43.13 MB / 0.6232 GB, free: 2.48 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01925/0.6142, allocations: 5.089 MB / 0.6282 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004848/0.6191, allocations: 3.178 MB / 0.6313 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008931/0.62, allocations: 236.9 kB / 0.6315 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.894e-05/0.62, allocations: 59.92 kB / 0.6316 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=203): time 5.199e-06/0.62, allocations: 7.938 kB / 0.6316 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of matching and sorting (n=234): time 0.0845/0.7045, allocations: 28.17 MB / 0.6591 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.7046, allocations: 150.5 kB / 0.6592 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006823/0.7115, allocations: 3.928 MB / 0.6631 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001039/0.7125, allocations: 65.7 kB / 0.6631 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00355/0.716, allocations: 3.544 MB / 0.6666 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001777/0.7178, allocations: 0.9264 MB / 0.6675 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002652/0.7205, allocations: 1.455 MB / 0.6689 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.7206, allocations: 305.1 kB / 0.6692 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005614/0.7263, allocations: 3.296 MB / 0.6724 GB, free: 15.89 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01027/0.7365, allocations: 7.094 MB / 0.6794 GB, free: 6.906 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01721/0.7537, allocations: 11.18 MB / 0.6903 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001914/0.7539, allocations: 40 kB / 0.6903 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.318/1.072, allocations: 11.3 MB / 0.7014 GB, free: 158.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001144/1.072, allocations: 63.45 kB / 0.7014 GB, free: 158.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002337/1.072, allocations: 134.1 kB / 0.7015 GB, free: 158.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003393/1.076, allocations: 1.124 MB / 0.7026 GB, free: 158.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007057/1.083, allocations: 1.728 MB / 0.7043 GB, free: 158.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006921/1.09, allocations: 6.171 MB / 0.7104 GB, free: 157 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00582/1.095, allocations: 404.3 kB / 0.7107 GB, free: 156.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001157/1.097, allocations: 456.1 kB / 0.7112 GB, free: 156.8 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (816): * Single equations (assignments): 812 * 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 {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004412/1.101, allocations: 2.315 MB / 0.7134 GB, free: 155.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007969/1.102, allocations: 372.1 kB / 0.7138 GB, free: 155.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01068/1.112, allocations: 6.177 MB / 0.7198 GB, free: 154 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.947e-05/1.113, allocations: 28.69 kB / 0.7199 GB, free: 154 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.709e-05/1.113, allocations: 4.359 kB / 0.7199 GB, free: 154 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-05/1.113, allocations: 16.09 kB / 0.7199 GB, free: 154 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02177/1.134, allocations: 11.47 MB / 0.7311 GB, free: 150.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.882e-05/1.134, allocations: 4.062 kB / 0.7311 GB, free: 150.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00307/1.137, allocations: 0.5781 MB / 0.7316 GB, free: 150.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002827/1.14, allocations: 0.9558 MB / 0.7326 GB, free: 150 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003872/1.141, allocations: 99.23 kB / 0.7327 GB, free: 149.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008102/1.149, allocations: 5.922 MB / 0.7384 GB, free: 147 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/1.149, allocations: 11.38 kB / 0.7385 GB, free: 147 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01341/1.162, allocations: 10.49 MB / 0.7487 GB, free: 143.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002043/1.164, allocations: 0.7835 MB / 0.7495 GB, free: 143.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005057/1.165, allocations: 47 kB / 0.7495 GB, free: 143.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002114/1.167, allocations: 170 kB / 0.7497 GB, free: 143.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004767/1.167, allocations: 211.1 kB / 0.7499 GB, free: 143.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00024/1.168, allocations: 119.4 kB / 0.75 GB, free: 143.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002918/1.17, allocations: 2.268 MB / 0.7522 GB, free: 142.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/1.17, allocations: 0 / 0.7522 GB, free: 142.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004965/1.175, allocations: 1.185 MB / 0.7534 GB, free: 142.2 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.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 (206): * Single equations (assignments): 202 * 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 {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004098/1.176, allocations: 192.9 kB / 0.7535 GB, free: 142.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.008724/1.185, allocations: 7.493 MB / 0.7609 GB, free: 136 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/1.185, allocations: 0.75 kB / 0.7609 GB, free: 136 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003255/1.188, allocations: 2.871 MB / 0.7637 GB, free: 133.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/1.19, allocations: 434.9 kB / 0.7641 GB, free: 133.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01586/1.206, allocations: 12.02 MB / 0.7758 GB, free: 121.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003008/1.209, allocations: 3.098 MB / 0.7788 GB, free: 118.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004285/1.213, allocations: 2.195 MB / 0.781 GB, free: 116.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001216/1.214, allocations: 448.1 kB / 0.7814 GB, free: 115.7 MB / 0.5919 GB Notification: Performance of SimCode: time 1.042e-06/1.214, allocations: 0 / 0.7814 GB, free: 115.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.07657/1.291, allocations: 48.45 MB / 0.8287 GB, free: 67.67 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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.61755602795165]