Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 106.8 kB / 17.03 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 196.1 kB / 17.96 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 205.1 MB / 223.8 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2155/0.2155, allocations: 43.52 MB / 314.7 MB, free: 484 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 72.61 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1129, allocations: 57.79 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01283/0.1258, allocations: 13.8 MB / 455.8 MB, free: 8.277 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01024/0.136, allocations: 4.373 MB / 460.1 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002757/0.1389, allocations: 83.75 kB / 460.2 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007701/0.1466, allocations: 3.738 MB / 464 MB, free: 60 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007457/0.1541, allocations: 2.1 MB / 466.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002625/0.1568, allocations: 0.8188 MB / 466.9 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007505/0.1643, allocations: 4.408 MB / 471.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006233/0.1706, allocations: 4.946 MB / 476.2 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003576/0.1742, allocations: 1.935 MB / 478.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004218/0.1785, allocations: 2.601 MB / 480.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001353/0.1798, allocations: 440 kB / 481.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002644/0.1825, allocations: 1.155 MB / 482.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002428/0.185, allocations: 2.334 MB / 484.7 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003362/0.1883, allocations: 2.765 MB / 487.5 MB, free: 8.441 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009547/0.1979, allocations: 8.607 MB / 496.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.1979, allocations: 0 / 496.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.198, allocations: 4 kB / 496.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002894/0.1983, allocations: 0 / 496.1 MB, free: 15.8 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.02407/0.2223, allocations: 6.447 MB / 0.4907 GB, free: 9.277 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.038e-05/0.2224, allocations: 8.031 kB / 0.4907 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008887/0.2313, allocations: 1.994 MB / 0.4927 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007088/0.2385, allocations: 2.823 MB / 0.4955 GB, free: 4.383 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002564/0.2387, allocations: 311.8 kB / 0.4957 GB, free: 4.074 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001266/0.24, allocations: 403.7 kB / 0.4961 GB, free: 3.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02373/0.2638, allocations: 12.89 MB / 0.5087 GB, free: 6.051 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001332/0.2639, allocations: 55.44 kB / 0.5088 GB, free: 5.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000525/0.2645, allocations: 187.8 kB / 0.509 GB, free: 5.812 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003981/0.2685, allocations: 2.374 MB / 0.5113 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02457/0.293, allocations: 11.8 MB / 0.5228 GB, free: 7.617 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3127/0.6058, allocations: 47.89 MB / 0.5696 GB, free: 52.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0166/0.6224, allocations: 5.71 MB / 0.5751 GB, free: 49.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00396/0.6264, allocations: 3.606 MB / 0.5787 GB, free: 47.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00086/0.6273, allocations: 0.7026 MB / 0.5794 GB, free: 47.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.6274, allocations: 59.38 kB / 0.5794 GB, free: 47.12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=224): time 5.2e-06/0.6274, allocations: 0 / 0.5794 GB, free: 47.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=255): time 0.06819/0.6956, allocations: 28.5 MB / 0.6072 GB, free: 19.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.6956, allocations: 154.5 kB / 0.6074 GB, free: 19.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004757/0.7004, allocations: 4.517 MB / 0.6118 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005917/0.701, allocations: 61.7 kB / 0.6119 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001715/0.7027, allocations: 3.54 MB / 0.6153 GB, free: 11.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009974/0.7038, allocations: 0.9572 MB / 0.6162 GB, free: 10.47 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001699/0.7055, allocations: 1.478 MB / 0.6177 GB, free: 8.984 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 3.765e-05/0.7055, allocations: 301.1 kB / 0.618 GB, free: 8.688 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004013/0.7095, allocations: 3.449 MB / 0.6213 GB, free: 5.234 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008183/0.7177, allocations: 7.395 MB / 0.6286 GB, free: 11.9 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01619/0.734, allocations: 11.67 MB / 0.64 GB, free: 14.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001151/0.7342, allocations: 43.94 kB / 0.64 GB, free: 14.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.0221/0.7563, allocations: 11.78 MB / 0.6515 GB, free: 2.449 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.952e-05/0.7564, allocations: 67.98 kB / 0.6516 GB, free: 2.383 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001537/0.7566, allocations: 136 kB / 0.6517 GB, free: 2.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002835/0.7594, allocations: 1.124 MB / 0.6528 GB, free: 1.125 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006449/0.7659, allocations: 1.774 MB / 0.6545 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008006/0.7739, allocations: 6.353 MB / 0.6607 GB, free: 8.859 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007856/0.7818, allocations: 423.5 kB / 0.6611 GB, free: 8.445 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001768/0.7836, allocations: 461 kB / 0.6616 GB, free: 7.996 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 630 * Number of states: 0 () * Number of discrete variables: 42 (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 (857): * Single equations (assignments): 853 * 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.004591/0.7882, allocations: 2.429 MB / 0.664 GB, free: 5.559 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001072/0.7893, allocations: 410.7 kB / 0.6643 GB, free: 5.152 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01062/0.7999, allocations: 6.559 MB / 0.6708 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-05/0.8, allocations: 32 kB / 0.6708 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.8, allocations: 4 kB / 0.6708 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.938e-05/0.8, allocations: 11.91 kB / 0.6708 GB, free: 14.53 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02209/0.8221, allocations: 13.72 MB / 0.6842 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.982e-05/0.8222, allocations: 4 kB / 0.6842 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003121/0.8253, allocations: 0.5928 MB / 0.6848 GB, free: 140 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002486/0.8278, allocations: 0.953 MB / 0.6857 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003807/0.8282, allocations: 83.89 kB / 0.6858 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008656/0.8369, allocations: 6.074 MB / 0.6917 GB, free: 8.887 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.827e-06/0.8369, allocations: 4.469 kB / 0.6917 GB, free: 8.883 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01683/0.8538, allocations: 11.05 MB / 0.7025 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002857/0.8567, allocations: 0.9328 MB / 0.7034 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006696/0.8574, allocations: 43.98 kB / 0.7035 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002316/0.8597, allocations: 187.4 kB / 0.7037 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005539/0.8603, allocations: 202.7 kB / 0.7038 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002823/0.8605, allocations: 111.9 kB / 0.704 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004695/0.8653, allocations: 2.843 MB / 0.7067 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8653, allocations: 3.938 kB / 0.7067 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005875/0.8711, allocations: 1.26 MB / 0.708 GB, free: 8.129 MB / 0.4981 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 (228): * Single equations (assignments): 224 * 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.0005694/0.8717, allocations: 187.9 kB / 0.7081 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.2336/1.105, allocations: 8.139 MB / 0.7161 GB, free: 167 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/1.105, allocations: 1.906 kB / 0.7161 GB, free: 167 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00575/1.111, allocations: 3.204 MB / 0.7192 GB, free: 166.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003352/1.114, allocations: 0.5166 MB / 0.7197 GB, free: 166.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02147/1.136, allocations: 12.48 MB / 0.7319 GB, free: 163.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003674/1.14, allocations: 3.803 MB / 0.7356 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005259/1.145, allocations: 2.373 MB / 0.7379 GB, free: 161.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001563/1.147, allocations: 431.4 kB / 0.7384 GB, free: 161.7 MB / 0.4981 GB Notification: Performance of SimCode: time 1.262e-06/1.147, allocations: 0 / 0.7384 GB, free: 161.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.08603/1.233, allocations: 52.29 MB / 0.7894 GB, free: 115.4 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches