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.001218/0.001218, allocations: 102.1 kB / 16.27 MB, free: 5.973 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.001584/0.001584, allocations: 184.6 kB / 17.19 MB, free: 5.609 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.559/1.559, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2206/0.2206, allocations: 43.53 MB / 313.9 MB, free: 0.5156 MB / 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.001502/0.001502, allocations: 74.36 kB / 382.7 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1289, allocations: 57.79 MB / 440.5 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.0137/0.1426, allocations: 13.8 MB / 454.3 MB, free: 9.023 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0113/0.154, allocations: 4.366 MB / 458.7 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00299/0.157, allocations: 83.75 kB / 458.8 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00701/0.164, allocations: 3.742 MB / 462.5 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00629/0.1705, allocations: 2.112 MB / 464.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002374/0.1729, allocations: 0.8108 MB / 465.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007311/0.1802, allocations: 4.404 MB / 469.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009673/0.1899, allocations: 4.957 MB / 474.8 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005222/0.1952, allocations: 1.92 MB / 476.7 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00462/0.1999, allocations: 2.609 MB / 479.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001184/0.2011, allocations: 440 kB / 479.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002754/0.2039, allocations: 1.159 MB / 480.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002811/0.2067, allocations: 2.33 MB / 483.3 MB, free: 11.97 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003769/0.2105, allocations: 2.765 MB / 486 MB, free: 9.188 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01376/0.2243, allocations: 8.333 MB / 494.4 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.2243, allocations: 0 / 494.4 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.2243, allocations: 0 / 494.4 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003081/0.2246, allocations: 0 / 494.4 MB, free: 0.8281 MB / 366.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.02598/0.2506, allocations: 6.451 MB / 0.4891 GB, free: 10.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.479e-05/0.2507, allocations: 8.031 kB / 0.4891 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009689/0.2604, allocations: 1.998 MB / 0.491 GB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007753/0.2682, allocations: 2.772 MB / 0.4937 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003744/0.2686, allocations: 303.8 kB / 0.494 GB, free: 5.152 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001994/0.2706, allocations: 411.8 kB / 0.4944 GB, free: 4.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02854/0.2992, allocations: 12.89 MB / 0.507 GB, free: 7.117 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000277/0.2995, allocations: 51.48 kB / 0.5071 GB, free: 7.066 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00159/0.3011, allocations: 187.8 kB / 0.5072 GB, free: 6.883 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004772/0.3059, allocations: 2.37 MB / 0.5095 GB, free: 4.504 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02959/0.3355, allocations: 11.81 MB / 0.5211 GB, free: 8.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3198/0.6553, allocations: 48.12 MB / 0.5681 GB, free: 53.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01743/0.6728, allocations: 5.707 MB / 0.5736 GB, free: 50.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004074/0.6769, allocations: 3.604 MB / 0.5772 GB, free: 48.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009336/0.6779, allocations: 0.6969 MB / 0.5778 GB, free: 47.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.6779, allocations: 67.47 kB / 0.5779 GB, free: 47.72 MB / 414.1 MB Notification: Performance of pre-optimization done (n=224): time 4.618e-06/0.6779, allocations: 0 / 0.5779 GB, free: 47.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=255): time 0.07695/0.7549, allocations: 28.49 MB / 0.6057 GB, free: 20.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.755, allocations: 158.5 kB / 0.6059 GB, free: 20.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005322/0.7603, allocations: 4.517 MB / 0.6103 GB, free: 15.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008243/0.7611, allocations: 61.7 kB / 0.6103 GB, free: 15.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001826/0.763, allocations: 3.55 MB / 0.6138 GB, free: 12.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001198/0.7642, allocations: 0.951 MB / 0.6147 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001828/0.766, allocations: 1.474 MB / 0.6162 GB, free: 9.875 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.074e-05/0.7661, allocations: 305.1 kB / 0.6165 GB, free: 9.574 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004014/0.7701, allocations: 3.449 MB / 0.6198 GB, free: 6.121 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006403/0.7765, allocations: 7.399 MB / 0.6271 GB, free: 12.78 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01555/0.7921, allocations: 11.67 MB / 0.6385 GB, free: 15.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001214/0.7923, allocations: 40 kB / 0.6385 GB, free: 15.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.02374/0.816, allocations: 11.78 MB / 0.65 GB, free: 3.344 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.874e-05/0.8161, allocations: 64 kB / 0.6501 GB, free: 3.281 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001937/0.8163, allocations: 140 kB / 0.6502 GB, free: 3.145 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002904/0.8193, allocations: 1.13 MB / 0.6513 GB, free: 2.012 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006658/0.8259, allocations: 1.778 MB / 0.653 GB, free: 236 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008384/0.8343, allocations: 6.357 MB / 0.6592 GB, free: 9.738 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005692/0.84, allocations: 419.5 kB / 0.6596 GB, free: 9.328 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009176/0.841, allocations: 459.5 kB / 0.6601 GB, free: 8.883 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.004118/0.8451, allocations: 2.428 MB / 0.6625 GB, free: 6.441 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001345/0.8465, allocations: 424.6 kB / 0.6629 GB, free: 6.023 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01081/0.8573, allocations: 6.543 MB / 0.6692 GB, free: 15.46 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.805e-05/0.8574, allocations: 28 kB / 0.6693 GB, free: 15.43 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/0.8574, allocations: 15.92 kB / 0.6693 GB, free: 15.41 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-05/0.8574, allocations: 7.969 kB / 0.6693 GB, free: 15.41 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02391/0.8813, allocations: 13.78 MB / 0.6828 GB, free: 1.555 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.979e-05/0.8814, allocations: 4.312 kB / 0.6828 GB, free: 1.551 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003311/0.8847, allocations: 0.5928 MB / 0.6833 GB, free: 0.957 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002629/0.8874, allocations: 0.9527 MB / 0.6843 GB, free: 0 / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004698/0.8878, allocations: 95.33 kB / 0.6844 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007771/0.8956, allocations: 6.069 MB / 0.6903 GB, free: 9.703 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.8957, allocations: 7.938 kB / 0.6903 GB, free: 9.695 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01699/0.9127, allocations: 11.04 MB / 0.7011 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002485/0.9152, allocations: 0.9392 MB / 0.702 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001068/0.9163, allocations: 47.98 kB / 0.702 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002775/0.9191, allocations: 183.8 kB / 0.7022 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005796/0.9197, allocations: 189.6 kB / 0.7024 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002683/0.92, allocations: 115.5 kB / 0.7025 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004377/0.9243, allocations: 2.843 MB / 0.7053 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9244, allocations: 4 kB / 0.7053 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006493/0.9309, allocations: 1.264 MB / 0.7065 GB, free: 8.949 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.0005493/0.9314, allocations: 180.2 kB / 0.7067 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.2451/1.177, allocations: 10.71 MB / 0.7171 GB, free: 167.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.375e-05/1.177, allocations: 0.9688 kB / 0.7172 GB, free: 167.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006765/1.183, allocations: 3.214 MB / 0.7203 GB, free: 167.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006229/1.19, allocations: 0.5068 MB / 0.7208 GB, free: 167.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02633/1.216, allocations: 12.62 MB / 0.7331 GB, free: 163 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005417/1.221, allocations: 3.813 MB / 0.7368 GB, free: 161.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006614/1.228, allocations: 2.368 MB / 0.7391 GB, free: 161.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002173/1.23, allocations: 426.8 kB / 0.7395 GB, free: 161.4 MB / 0.4981 GB Notification: Performance of SimCode: time 1.723e-06/1.23, allocations: 0 / 0.7395 GB, free: 161.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.09998/1.33, allocations: 58.31 MB / 0.7965 GB, free: 107.6 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 -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/jenkins/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/jenkins/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