Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009453/0.0009454, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001331/0.001331, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 227.7 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002844/0.0002844, allocations: 4.188 kB / 307.7 MB, free: 0.8008 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1473, allocations: 51.53 MB / 359.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.002897/0.1502, allocations: 1.583 MB / 360.8 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.1513, allocations: 486.8 kB / 361.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.1514, allocations: 4 kB / 361.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001245/0.1516, allocations: 7.938 kB / 361.3 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.054e-05/0.1517, allocations: 19.84 kB / 361.4 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002018/0.1519, allocations: 23.92 kB / 361.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000206/0.1521, allocations: 95.64 kB / 361.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.1523, allocations: 49.34 kB / 361.5 MB, free: 11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.398e-05/0.1524, allocations: 31.8 kB / 361.5 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.1525, allocations: 39.78 kB / 361.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.1526, allocations: 4 kB / 361.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.227e-05/0.1526, allocations: 4 kB / 361.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.933e-05/0.1526, allocations: 11.94 kB / 361.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.575e-05/0.1527, allocations: 69.44 kB / 361.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.1529, allocations: 91.88 kB / 361.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1529, allocations: 0 / 361.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1529, allocations: 0 / 361.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.153, allocations: 4 kB / 361.8 MB, free: 10.74 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006655/0.1536, allocations: 395.3 kB / 362.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.1537, allocations: 8.031 kB / 362.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.022e-05/0.1538, allocations: 12.84 kB / 362.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.154, allocations: 196.1 kB / 362.4 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.154, allocations: 8.562 kB / 362.4 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.677e-05/0.1541, allocations: 20.31 kB / 362.4 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003734/0.1545, allocations: 122.9 kB / 362.5 MB, free: 9.902 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.1545, allocations: 3.984 kB / 362.5 MB, free: 9.898 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.1545, allocations: 4 kB / 362.5 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1545, allocations: 0 / 362.5 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003424/0.1549, allocations: 83.89 kB / 362.6 MB, free: 9.812 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009003/0.1558, allocations: 0.5285 MB / 363.1 MB, free: 9.215 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/0.1561, allocations: 82.59 kB / 363.2 MB, free: 9.125 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.1563, allocations: 52.77 kB / 363.3 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.1563, allocations: 0 / 363.3 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.1564, allocations: 34.56 kB / 363.3 MB, free: 9.027 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.1564, allocations: 4 kB / 363.3 MB, free: 9.023 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006107/0.157, allocations: 129.9 kB / 363.4 MB, free: 8.891 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.1571, allocations: 55.41 kB / 363.5 MB, free: 8.824 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.1572, allocations: 128.3 kB / 363.6 MB, free: 8.691 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/0.1573, allocations: 33.7 kB / 363.6 MB, free: 8.652 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.117e-05/0.1574, allocations: 107.9 kB / 363.7 MB, free: 8.543 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.742e-05/0.1574, allocations: 31.56 kB / 363.8 MB, free: 8.512 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.577e-05/0.1575, allocations: 17.7 kB / 363.8 MB, free: 8.488 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.1576, allocations: 322.8 kB / 364.1 MB, free: 8.164 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.1578, allocations: 43.84 kB / 364.2 MB, free: 8.121 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000189/0.158, allocations: 76.27 kB / 364.2 MB, free: 8.031 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003585/0.1584, allocations: 116.2 kB / 364.3 MB, free: 7.902 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1584, allocations: 0 / 364.3 MB, free: 7.902 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004527/0.1589, allocations: 149.5 kB / 364.5 MB, free: 7.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.1589, allocations: 4 kB / 364.5 MB, free: 7.746 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.1589, allocations: 4.094 kB / 364.5 MB, free: 7.742 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1589, allocations: 3.938 kB / 364.5 MB, free: 7.738 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.1592, allocations: 35.92 kB / 364.5 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.1592, allocations: 4.062 kB / 364.5 MB, free: 7.699 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.1593, allocations: 20.02 kB / 364.6 MB, free: 7.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.1593, allocations: 12 kB / 364.6 MB, free: 7.668 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.1595, allocations: 125.7 kB / 364.7 MB, free: 7.535 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.005e-05/0.1595, allocations: 7.891 kB / 364.7 MB, free: 7.527 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.934e-05/0.1596, allocations: 12.38 kB / 364.7 MB, free: 7.516 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.1596, allocations: 0 / 364.7 MB, free: 7.516 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.1596, allocations: 3.984 kB / 364.7 MB, free: 7.512 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1596, allocations: 0 / 364.7 MB, free: 7.512 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002941/0.1599, allocations: 201.6 kB / 364.9 MB, free: 7.266 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1599, allocations: 0 / 364.9 MB, free: 7.266 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/0.1601, allocations: 39.91 kB / 364.9 MB, free: 7.227 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.1601, allocations: 0 / 364.9 MB, free: 7.227 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.1602, allocations: 4 kB / 365 MB, free: 7.223 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1602, allocations: 0 / 365 MB, free: 7.223 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1602, allocations: 0 / 365 MB, free: 7.223 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005923/0.1608, allocations: 247.3 kB / 365.2 MB, free: 6.965 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.46e-05/0.1609, allocations: 81.02 kB / 365.3 MB, free: 6.867 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.1609, allocations: 0 / 365.3 MB, free: 6.867 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.161, allocations: 16.03 kB / 365.3 MB, free: 6.852 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.767e-05/0.1611, allocations: 8 kB / 365.3 MB, free: 6.844 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.1611, allocations: 0 / 365.3 MB, free: 6.844 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.053e-05/0.1612, allocations: 103.2 kB / 365.4 MB, free: 6.742 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1612, allocations: 0 / 365.4 MB, free: 6.742 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004684/0.1617, allocations: 23.94 kB / 365.4 MB, free: 6.719 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (load.phi,load.w,PI.x) * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001266/0.1618, allocations: 95.25 kB / 365.5 MB, free: 6.613 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003945/0.1622, allocations: 95.88 kB / 365.6 MB, free: 6.52 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1623, allocations: 3.938 kB / 365.6 MB, free: 6.516 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.1624, allocations: 43.97 kB / 365.7 MB, free: 6.473 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005322/0.163, allocations: 24.17 kB / 365.7 MB, free: 6.449 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009242/0.1639, allocations: 437.2 kB / 366.1 MB, free: 5.996 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.1642, allocations: 0.6974 MB / 366.8 MB, free: 5.273 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.028e-05/0.1643, allocations: 8.625 kB / 366.8 MB, free: 5.266 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.141e-05/0.1644, allocations: 15.44 kB / 366.8 MB, free: 5.25 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1644, allocations: 3.938 kB / 366.8 MB, free: 5.246 MB / 302.1 MB Notification: Performance of Templates: time 0.003698/0.1681, allocations: 0.8802 MB / 367.7 MB, free: 4.375 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & ./Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches