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.002074/0.002075, allocations: 113.7 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002729/0.002729, allocations: 208.9 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.594/2.594, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002391/0.002392, allocations: 59.91 kB / 359.4 MB, free: 13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4505/0.4529, allocations: 50.55 MB / 409.9 MB, free: 1.668 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.006251/0.4593, allocations: 1.875 MB / 411.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.461, allocations: 486.8 kB / 412.3 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.4612, allocations: 4 kB / 412.3 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001861/0.4615, allocations: 7.875 kB / 412.3 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001517/0.4616, allocations: 23.78 kB / 412.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.4619, allocations: 31.91 kB / 412.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003092/0.4623, allocations: 99.64 kB / 412.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002416/0.4625, allocations: 49.38 kB / 412.5 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.4627, allocations: 39.8 kB / 412.5 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.4628, allocations: 47.77 kB / 412.6 MB, free: 15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.905e-05/0.4629, allocations: 8 kB / 412.6 MB, free: 15 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.137e-05/0.463, allocations: 8 kB / 412.6 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.837e-05/0.463, allocations: 27.91 kB / 412.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.4632, allocations: 39.75 kB / 412.6 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002973/0.4635, allocations: 99.47 kB / 412.7 MB, free: 14.83 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.4635, allocations: 0 / 412.7 MB, free: 14.83 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4635, allocations: 0 / 412.7 MB, free: 14.83 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.4636, allocations: 4 kB / 412.7 MB, free: 14.82 MB / 334.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.001007/0.4646, allocations: 412.5 kB / 413.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.38e-05/0.4647, allocations: 8.031 kB / 413.1 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.5e-05/0.4648, allocations: 8.844 kB / 413.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004899/0.4653, allocations: 196.2 kB / 413.3 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.4653, allocations: 12.5 kB / 413.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.506e-05/0.4654, allocations: 8.375 kB / 413.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005354/0.466, allocations: 132.3 kB / 413.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.466, allocations: 0 / 413.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.598e-05/0.466, allocations: 4 kB / 413.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.4661, allocations: 4 kB / 413.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004454/0.4665, allocations: 67.94 kB / 413.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.4678, allocations: 0.5323 MB / 414.1 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003577/0.4682, allocations: 78.53 kB / 414.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.4684, allocations: 40.84 kB / 414.2 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.4685, allocations: 0 / 414.2 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.578e-05/0.4685, allocations: 42.5 kB / 414.3 MB, free: 13.11 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 2.715e-06/0.4686, allocations: 0 / 414.3 MB, free: 13.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007503/0.4693, allocations: 117.6 kB / 414.4 MB, free: 12.99 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/0.4694, allocations: 51.41 kB / 414.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.4696, allocations: 137.7 kB / 414.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.4697, allocations: 25.7 kB / 414.6 MB, free: 12.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.4698, allocations: 108 kB / 414.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.138e-05/0.4699, allocations: 35.53 kB / 414.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.495e-05/0.47, allocations: 25.72 kB / 414.8 MB, free: 12.58 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.4702, allocations: 326.8 kB / 415.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/0.4704, allocations: 31.97 kB / 415.1 MB, free: 12.22 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.4707, allocations: 68.27 kB / 415.2 MB, free: 12.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000473/0.4712, allocations: 96.2 kB / 415.3 MB, free: 12.03 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.4712, allocations: 4 kB / 415.3 MB, free: 12.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006042/0.4718, allocations: 137.4 kB / 415.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.346e-05/0.4719, allocations: 10.75 kB / 415.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.4719, allocations: 3.938 kB / 415.4 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-05/0.472, allocations: 4 kB / 415.4 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002935/0.4723, allocations: 36.09 kB / 415.5 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.4723, allocations: 0 / 415.5 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.4725, allocations: 15.91 kB / 415.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.4725, allocations: 0 / 415.5 MB, free: 11.82 MB / 334.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.0001555/0.4727, allocations: 137.6 kB / 415.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.581e-05/0.4727, allocations: 4 kB / 415.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.563e-05/0.4728, allocations: 12.38 kB / 415.6 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.4728, allocations: 0 / 415.6 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.4728, allocations: 0 / 415.6 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.4728, allocations: 8 kB / 415.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003703/0.4732, allocations: 197.5 kB / 415.8 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4732, allocations: 4 kB / 415.8 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/0.4735, allocations: 19.98 kB / 415.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.4735, allocations: 0 / 415.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.4735, allocations: 0 / 415.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.4736, allocations: 0 / 415.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.4736, allocations: 4 kB / 415.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00074/0.4743, allocations: 239.2 kB / 416.1 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.886e-05/0.4744, allocations: 92.98 kB / 416.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/0.4745, allocations: 0 / 416.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.4746, allocations: 8 kB / 416.2 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.637e-05/0.4748, allocations: 7.984 kB / 416.2 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.4748, allocations: 0 / 416.2 MB, free: 11 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001027/0.4749, allocations: 102.5 kB / 416.3 MB, free: 10.9 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.4749, allocations: 4 kB / 416.3 MB, free: 10.9 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004687/0.4754, allocations: 19.94 kB / 416.3 MB, free: 10.88 MB / 334.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.0001607/0.4756, allocations: 99.25 kB / 416.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005458/0.4762, allocations: 79.88 kB / 416.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.4762, allocations: 0 / 416.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000218/0.4764, allocations: 40.56 kB / 416.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006404/0.4771, allocations: 32.19 kB / 416.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.4784, allocations: 385.9 kB / 416.9 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004539/0.4789, allocations: 0.7041 MB / 417.6 MB, free: 9.48 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.787e-05/0.479, allocations: 11.44 kB / 417.6 MB, free: 9.473 MB / 334.1 MB Notification: Performance of SimCode: time 1.022e-06/0.479, allocations: 0 / 417.6 MB, free: 9.473 MB / 334.1 MB Notification: Performance of Templates: time 0.005578/0.4846, allocations: 1.294 MB / 418.9 MB, free: 8.184 MB / 334.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches