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.001219/0.001219, allocations: 101.8 kB / 17.01 MB, free: 6.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001774/0.001774, allocations: 194.1 kB / 17.91 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.7 MB / 246.4 MB, free: 11.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002426/0.0002426, allocations: 4 kB / 307.1 MB, free: 1.203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08854/0.0888, allocations: 51.52 MB / 358.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.001899/0.09074, allocations: 1.556 MB / 360.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007469/0.09151, allocations: 463.2 kB / 360.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.81e-05/0.09161, allocations: 0 / 360.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.163e-05/0.0917, allocations: 7.938 kB / 360.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.876e-05/0.09177, allocations: 23.78 kB / 360.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001288/0.0919, allocations: 27.97 kB / 360.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.09204, allocations: 91.64 kB / 360.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.09216, allocations: 29.56 kB / 360.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.844e-05/0.09223, allocations: 31.86 kB / 360.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.045e-05/0.09231, allocations: 43.77 kB / 360.9 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.09234, allocations: 4 kB / 360.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.572e-05/0.09236, allocations: 8 kB / 360.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.774e-05/0.09238, allocations: 11.92 kB / 360.9 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.121e-05/0.09242, allocations: 37.7 kB / 360.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.607e-05/0.09252, allocations: 68.03 kB / 361 MB, free: 11.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.09253, allocations: 4 kB / 361 MB, free: 11.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.09254, allocations: 0 / 361 MB, free: 11.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.09255, allocations: 3.938 kB / 361 MB, free: 11.26 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.0005008/0.09306, allocations: 409.8 kB / 361.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.0931, allocations: 8.031 kB / 361.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.84e-05/0.09314, allocations: 11.91 kB / 361.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.09332, allocations: 190.8 kB / 361.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.09334, allocations: 8.188 kB / 361.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.09337, allocations: 8 kB / 361.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002604/0.09363, allocations: 132.2 kB / 361.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.09366, allocations: 7.969 kB / 361.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.09368, allocations: 4 kB / 361.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/0.09369, allocations: 4 kB / 361.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002182/0.09391, allocations: 79.89 kB / 361.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006165/0.09454, allocations: 0.5247 MB / 362.4 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.09473, allocations: 82.73 kB / 362.5 MB, free: 9.637 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.09485, allocations: 44.83 kB / 362.5 MB, free: 9.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.09487, allocations: 4 kB / 362.5 MB, free: 9.586 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.09489, allocations: 38.56 kB / 362.6 MB, free: 9.539 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.0949, allocations: 0 / 362.6 MB, free: 9.539 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003754/0.09528, allocations: 137.5 kB / 362.7 MB, free: 9.398 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.09532, allocations: 55.41 kB / 362.7 MB, free: 9.332 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.035e-05/0.09541, allocations: 132.5 kB / 362.9 MB, free: 9.195 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.09544, allocations: 25.7 kB / 362.9 MB, free: 9.164 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.17e-05/0.0955, allocations: 111.8 kB / 363 MB, free: 9.051 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.09553, allocations: 23.81 kB / 363 MB, free: 9.027 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/0.09554, allocations: 0 / 363 MB, free: 9.027 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.395e-05/0.09564, allocations: 322.8 kB / 363.3 MB, free: 8.703 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.09575, allocations: 39.97 kB / 363.4 MB, free: 8.664 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.09587, allocations: 72.27 kB / 363.5 MB, free: 8.578 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.09599, allocations: 43.92 kB / 363.5 MB, free: 8.535 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.096, allocations: 0 / 363.5 MB, free: 8.535 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002837/0.09629, allocations: 157.3 kB / 363.6 MB, free: 8.375 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.09631, allocations: 4 kB / 363.7 MB, free: 8.371 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.09633, allocations: 4 kB / 363.7 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.09634, allocations: 3.938 kB / 363.7 MB, free: 8.363 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.09651, allocations: 35.92 kB / 363.7 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.09652, allocations: 0 / 363.7 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.004e-05/0.09661, allocations: 31.92 kB / 363.7 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.09662, allocations: 4 kB / 363.7 MB, free: 8.293 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.973e-05/0.09672, allocations: 113.8 kB / 363.8 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/0.09675, allocations: 11.86 kB / 363.9 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.359e-05/0.09679, allocations: 16.36 kB / 363.9 MB, free: 8.145 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.0968, allocations: 0 / 363.9 MB, free: 8.145 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.09681, allocations: 0 / 363.9 MB, free: 8.145 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.09682, allocations: 4 kB / 363.9 MB, free: 8.141 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.09701, allocations: 193.6 kB / 364.1 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.09702, allocations: 8 kB / 364.1 MB, free: 7.895 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.09716, allocations: 23.92 kB / 364.1 MB, free: 7.871 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.09717, allocations: 0 / 364.1 MB, free: 7.871 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.09719, allocations: 7.953 kB / 364.1 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.0972, allocations: 0 / 364.1 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.0972, allocations: 0 / 364.1 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003794/0.09759, allocations: 243.4 kB / 364.3 MB, free: 7.609 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.685e-05/0.09763, allocations: 81.02 kB / 364.4 MB, free: 7.512 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.09766, allocations: 4 kB / 364.4 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.256e-05/0.09776, allocations: 19.98 kB / 364.4 MB, free: 7.488 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.0978, allocations: 7.984 kB / 364.4 MB, free: 7.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.09781, allocations: 0 / 364.4 MB, free: 7.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.735e-05/0.09787, allocations: 99.27 kB / 364.5 MB, free: 7.383 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.09788, allocations: 0 / 364.5 MB, free: 7.383 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.09813, allocations: 23.84 kB / 364.6 MB, free: 7.359 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.272e-05/0.09822, allocations: 103.3 kB / 364.7 MB, free: 7.246 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002522/0.09848, allocations: 95.88 kB / 364.8 MB, free: 7.152 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.09849, allocations: 0 / 364.8 MB, free: 7.152 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.952e-05/0.0986, allocations: 39.97 kB / 364.8 MB, free: 7.113 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.09893, allocations: 24.52 kB / 364.8 MB, free: 7.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000632/0.09957, allocations: 429.1 kB / 365.2 MB, free: 6.645 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.09982, allocations: 0.7004 MB / 365.9 MB, free: 5.918 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.555e-05/0.09988, allocations: 12.36 kB / 366 MB, free: 5.906 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.067e-05/0.09991, allocations: 15.44 kB / 366 MB, free: 5.891 MB / 302.1 MB Notification: Performance of SimCode: time 1.91e-07/0.09992, allocations: 0 / 366 MB, free: 5.891 MB / 302.1 MB Notification: Performance of Templates: time 0.003022/0.1029, allocations: 0.8591 MB / 366.8 MB, free: 5.043 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