Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") translateModel(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001749/0.001749, allocations: 184.5 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008738/0.0008737, allocations: 86.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2423/0.2423, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003515, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1251, allocations: 58.86 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4676/0.5927, allocations: 86.39 MB / 0.5631 GB, free: 13.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.5931, allocations: 74.2 kB / 0.5632 GB, free: 13.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007086/0.6002, allocations: 2.495 MB / 0.5656 GB, free: 11.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.6002, allocations: 0 / 0.5656 GB, free: 11.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.6002, allocations: 4 kB / 0.5656 GB, free: 11.27 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005578/0.6008, allocations: 409.8 kB / 0.566 GB, free: 10.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.6009, allocations: 16.02 kB / 0.566 GB, free: 10.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.098e-05/0.6009, allocations: 15.81 kB / 0.566 GB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.6012, allocations: 204.5 kB / 0.5662 GB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.6012, allocations: 12.17 kB / 0.5663 GB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.835e-05/0.6012, allocations: 14.81 kB / 0.5663 GB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000292/0.6015, allocations: 119.2 kB / 0.5664 GB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.6016, allocations: 4 kB / 0.5664 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.6016, allocations: 8.375 kB / 0.5664 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.6016, allocations: 0 / 0.5664 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002081/0.6018, allocations: 90.62 kB / 0.5665 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007682/0.6026, allocations: 472.6 kB / 0.5669 GB, free: 9.941 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.6028, allocations: 120 kB / 0.567 GB, free: 9.844 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.6029, allocations: 11.48 kB / 0.5671 GB, free: 9.836 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.6029, allocations: 38.19 kB / 0.5671 GB, free: 9.793 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.6029, allocations: 0 / 0.5671 GB, free: 9.793 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.001592/0.6045, allocations: 0.8094 MB / 0.5679 GB, free: 9.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.6046, allocations: 51.41 kB / 0.5679 GB, free: 8.957 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.6047, allocations: 128.3 kB / 0.5681 GB, free: 8.832 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.6047, allocations: 28.95 kB / 0.5681 GB, free: 8.801 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.278e-05/0.6048, allocations: 111.2 kB / 0.5682 GB, free: 8.699 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.398e-05/0.6049, allocations: 66.12 kB / 0.5683 GB, free: 8.641 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/0.6049, allocations: 7.25 kB / 0.5683 GB, free: 8.637 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.605, allocations: 325.3 kB / 0.5686 GB, free: 8.316 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.6052, allocations: 50.17 kB / 0.5686 GB, free: 8.277 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.6053, allocations: 73.09 kB / 0.5687 GB, free: 8.211 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.6054, allocations: 65.12 kB / 0.5687 GB, free: 8.172 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.6054, allocations: 3.953 kB / 0.5688 GB, free: 8.168 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003814/0.6058, allocations: 211.2 kB / 0.569 GB, free: 7.996 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.6058, allocations: 4 kB / 0.569 GB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.6058, allocations: 8.062 kB / 0.569 GB, free: 7.984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001778/0.606, allocations: 39.91 kB / 0.569 GB, free: 7.953 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.6062, allocations: 43.94 kB / 0.569 GB, free: 7.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001489/0.6077, allocations: 1.566 MB / 0.5706 GB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.358e-05/0.6078, allocations: 6.469 kB / 0.5706 GB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.6079, allocations: 10.81 kB / 0.5706 GB, free: 6.332 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001256/0.608, allocations: 121 kB / 0.5707 GB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.496e-05/0.6081, allocations: 15.86 kB / 0.5707 GB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.14e-05/0.6081, allocations: 19.61 kB / 0.5707 GB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.6081, allocations: 4.062 kB / 0.5707 GB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.6081, allocations: 4 kB / 0.5707 GB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.6081, allocations: 3.938 kB / 0.5708 GB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007836/0.6089, allocations: 0.5618 MB / 0.5713 GB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.6089, allocations: 0 / 0.5713 GB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/0.6091, allocations: 39.92 kB / 0.5713 GB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001052/0.6092, allocations: 31.89 kB / 0.5714 GB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.6093, allocations: 3.312 kB / 0.5714 GB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001129/0.6104, allocations: 1.384 MB / 0.5727 GB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.6104, allocations: 0 / 0.5727 GB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005302/0.611, allocations: 372.8 kB / 0.5731 GB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.311e-05/0.611, allocations: 88.95 kB / 0.5732 GB, free: 3.727 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.6111, allocations: 11.86 kB / 0.5732 GB, free: 3.719 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.038e-05/0.6112, allocations: 0 / 0.5732 GB, free: 3.719 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.213e-05/0.6112, allocations: 15.55 kB / 0.5732 GB, free: 3.707 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.6113, allocations: 12 kB / 0.5732 GB, free: 3.695 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.694e-05/0.6113, allocations: 107.1 kB / 0.5733 GB, free: 3.598 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6113, allocations: 3.938 kB / 0.5733 GB, free: 3.594 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003457/0.6117, allocations: 47.88 kB / 0.5734 GB, free: 3.555 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (J1.phi,J1.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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001433/0.6118, allocations: 99.06 kB / 0.5734 GB, free: 3.453 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005066/0.6124, allocations: 261.4 kB / 0.5737 GB, free: 3.223 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.6124, allocations: 0 / 0.5737 GB, free: 3.223 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002702/0.6127, allocations: 200.8 kB / 0.5739 GB, free: 3.035 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.613, allocations: 11.8 kB / 0.5739 GB, free: 3.027 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008554/0.6138, allocations: 0.5094 MB / 0.5744 GB, free: 2.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.6142, allocations: 0.7285 MB / 0.5751 GB, free: 1.762 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.552e-05/0.6142, allocations: 9.422 kB / 0.5751 GB, free: 1.754 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.806e-05/0.6143, allocations: 23.42 kB / 0.5751 GB, free: 1.73 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.6143, allocations: 0 / 0.5751 GB, free: 1.73 MB / 378.7 MB Notification: Performance of Templates: time 0.004197/0.6185, allocations: 1.46 MB / 0.5766 GB, free: 292 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/SimpleDriveTrain/SimpleDriveTrain.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches