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.006652/0.006653, allocations: 104.9 kB / 15.87 MB, free: 6.242 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.001379/0.001379, allocations: 196.2 kB / 16.79 MB, free: 6.172 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.527/1.527, allocations: 205.1 MB / 222.6 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4228/0.4228, allocations: 43.49 MB / 313.5 MB, free: 8.527 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.002245/0.002245, allocations: 67.91 kB / 382 MB, free: 8.719 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1742, allocations: 57.79 MB / 439.8 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.3049/0.4791, allocations: 66.25 MB / 0.4942 GB, free: 8.184 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03652/0.5157, allocations: 13.05 MB / 0.507 GB, free: 15.49 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01996/0.5357, allocations: 285.3 kB / 0.5072 GB, free: 15.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009822/0.5456, allocations: 3.738 MB / 0.5109 GB, free: 13.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009583/0.5553, allocations: 1.963 MB / 0.5128 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003377/0.5587, allocations: 0.7512 MB / 0.5135 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01467/0.5734, allocations: 6.507 MB / 0.5199 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009305/0.5828, allocations: 4.898 MB / 0.5247 GB, free: 8.703 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005424/0.5882, allocations: 1.715 MB / 0.5263 GB, free: 7.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006006/0.5943, allocations: 2.764 MB / 0.529 GB, free: 5.984 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002186/0.5965, allocations: 320 kB / 0.5294 GB, free: 5.672 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004279/0.6008, allocations: 1.108 MB / 0.5304 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004086/0.6049, allocations: 2.244 MB / 0.5326 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006089/0.611, allocations: 2.664 MB / 0.5352 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01279/0.6239, allocations: 8.247 MB / 0.5433 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.6239, allocations: 0 / 0.5433 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.6239, allocations: 0 / 0.5433 GB, free: 7.359 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003967/0.6243, allocations: 0 / 0.5433 GB, free: 7.359 MB / 414.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.02749/0.6518, allocations: 6.443 MB / 0.5496 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.097e-05/0.6519, allocations: 11.97 kB / 0.5496 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008436/0.6604, allocations: 1.994 MB / 0.5515 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008405/0.6688, allocations: 2.773 MB / 0.5542 GB, free: 11.99 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003534/0.6692, allocations: 303.8 kB / 0.5545 GB, free: 11.69 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002143/0.6714, allocations: 415.7 kB / 0.5549 GB, free: 11.29 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03087/0.7023, allocations: 12.89 MB / 0.5675 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003168/0.7026, allocations: 55.52 kB / 0.5676 GB, free: 13.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002029/0.7047, allocations: 183.8 kB / 0.5677 GB, free: 13.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00467/0.7094, allocations: 2.374 MB / 0.5701 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02737/0.7368, allocations: 11.81 MB / 0.5816 GB, free: 15.22 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3312/1.068, allocations: 48.13 MB / 0.6286 GB, free: 131.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01737/1.085, allocations: 5.704 MB / 0.6342 GB, free: 131 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004274/1.09, allocations: 3.603 MB / 0.6377 GB, free: 130.9 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001196/1.091, allocations: 0.7045 MB / 0.6384 GB, free: 130.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.531e-05/1.091, allocations: 52.66 kB / 0.6384 GB, free: 130.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=224): time 6.492e-06/1.091, allocations: 3.094 kB / 0.6384 GB, free: 130.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=255): time 0.08194/1.173, allocations: 28.48 MB / 0.6662 GB, free: 122.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.462e-05/1.173, allocations: 156.8 kB / 0.6664 GB, free: 122.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009151/1.182, allocations: 4.524 MB / 0.6708 GB, free: 120.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009676/1.183, allocations: 61.23 kB / 0.6709 GB, free: 120.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002768/1.186, allocations: 3.541 MB / 0.6743 GB, free: 117.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001731/1.188, allocations: 0.9631 MB / 0.6753 GB, free: 117 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002486/1.19, allocations: 1.467 MB / 0.6767 GB, free: 116.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.127e-05/1.19, allocations: 309.1 kB / 0.677 GB, free: 116 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004381/1.195, allocations: 3.447 MB / 0.6804 GB, free: 115 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006447/1.201, allocations: 7.398 MB / 0.6876 GB, free: 108.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01458/1.216, allocations: 11.67 MB / 0.699 GB, free: 100.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002449/1.216, allocations: 40.88 kB / 0.699 GB, free: 100.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.02296/1.239, allocations: 11.78 MB / 0.7105 GB, free: 90.08 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002036/1.239, allocations: 67.98 kB / 0.7106 GB, free: 90.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002832/1.24, allocations: 140.7 kB / 0.7107 GB, free: 89.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002767/1.243, allocations: 1.126 MB / 0.7118 GB, free: 88.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006863/1.249, allocations: 1.774 MB / 0.7136 GB, free: 86.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007047/1.256, allocations: 6.016 MB / 0.7194 GB, free: 80.83 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008734/1.265, allocations: 419.1 kB / 0.7198 GB, free: 80.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002218/1.268, allocations: 459.8 kB / 0.7203 GB, free: 79.97 MB / 494.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.006773/1.274, allocations: 2.428 MB / 0.7226 GB, free: 77.54 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001991/1.276, allocations: 410.7 kB / 0.723 GB, free: 77.13 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01184/1.288, allocations: 6.559 MB / 0.7294 GB, free: 70.55 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.535e-05/1.288, allocations: 28 kB / 0.7295 GB, free: 70.52 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-05/1.288, allocations: 4 kB / 0.7295 GB, free: 70.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.983e-05/1.288, allocations: 11.95 kB / 0.7295 GB, free: 70.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02752/1.316, allocations: 13.76 MB / 0.7429 GB, free: 56.69 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.283e-05/1.316, allocations: 7.938 kB / 0.7429 GB, free: 56.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003355/1.319, allocations: 0.5928 MB / 0.7435 GB, free: 56.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002388/1.322, allocations: 0.9452 MB / 0.7444 GB, free: 55.14 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005937/1.322, allocations: 94.39 kB / 0.7445 GB, free: 55.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006327/1.329, allocations: 5.741 MB / 0.7501 GB, free: 49.18 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/1.329, allocations: 4 kB / 0.7501 GB, free: 49.18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01687/1.346, allocations: 11.06 MB / 0.7609 GB, free: 38.02 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003717/1.349, allocations: 0.9369 MB / 0.7618 GB, free: 37.06 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001702/1.351, allocations: 44 kB / 0.7619 GB, free: 37.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003712/1.355, allocations: 186.7 kB / 0.7621 GB, free: 36.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008085/1.356, allocations: 189.6 kB / 0.7622 GB, free: 36.65 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004578/1.356, allocations: 111.9 kB / 0.7623 GB, free: 36.54 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005762/1.362, allocations: 2.843 MB / 0.7651 GB, free: 33.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.51e-07/1.362, allocations: 3.938 kB / 0.7651 GB, free: 33.69 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0094/1.371, allocations: 1.27 MB / 0.7664 GB, free: 32.43 MB / 494.1 MB 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.001432/1.373, allocations: 184.8 kB / 0.7665 GB, free: 32.24 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.014/1.387, allocations: 8.13 MB / 0.7745 GB, free: 24.13 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/1.387, allocations: 4 kB / 0.7745 GB, free: 24.13 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005119/1.392, allocations: 3.205 MB / 0.7776 GB, free: 20.91 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00648/1.399, allocations: 0.4899 MB / 0.7781 GB, free: 20.44 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02857/1.427, allocations: 15.05 MB / 0.7928 GB, free: 5.367 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007122/1.434, allocations: 3.811 MB / 0.7965 GB, free: 1.52 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007942/1.442, allocations: 2.374 MB / 0.7988 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002466/1.445, allocations: 431 kB / 0.7992 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of SimCode: time 1.533e-06/1.445, allocations: 0 / 0.7992 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of Templates: time 0.3868/1.832, allocations: 56.26 MB / 0.8542 GB, free: 132.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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches