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.00145/0.00145, allocations: 118.3 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001897/0.001897, allocations: 210.7 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 59.89 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2664, allocations: 50.54 MB / 409.9 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.00287/0.2693, allocations: 1.878 MB / 411.8 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007659/0.2701, allocations: 486.8 kB / 412.3 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.524e-05/0.2702, allocations: 0 / 412.3 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.875e-05/0.2703, allocations: 15.86 kB / 412.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.084e-05/0.2704, allocations: 23.78 kB / 412.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001334/0.2705, allocations: 27.91 kB / 412.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.2707, allocations: 111.6 kB / 412.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.2708, allocations: 41.38 kB / 412.5 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.177e-05/0.2709, allocations: 43.8 kB / 412.5 MB, free: 15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.493e-05/0.271, allocations: 47.77 kB / 412.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.271, allocations: 8 kB / 412.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.965e-05/0.271, allocations: 8 kB / 412.6 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.784e-05/0.2711, allocations: 15.94 kB / 412.6 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.252e-05/0.2711, allocations: 51.73 kB / 412.7 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.2713, allocations: 99.47 kB / 412.7 MB, free: 14.78 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2713, allocations: 4 kB / 412.8 MB, free: 14.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2713, allocations: 0 / 412.8 MB, free: 14.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.2713, allocations: 0 / 412.8 MB, free: 14.77 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.0005225/0.2718, allocations: 404.6 kB / 413.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.2719, allocations: 8.031 kB / 413.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.151e-05/0.2719, allocations: 12.84 kB / 413.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.2722, allocations: 200.1 kB / 413.4 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.2722, allocations: 8.562 kB / 413.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.2722, allocations: 12.38 kB / 413.4 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.2725, allocations: 126.4 kB / 413.5 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.2725, allocations: 0 / 413.5 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.2725, allocations: 4 kB / 413.5 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.2725, allocations: 0 / 413.5 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002225/0.2728, allocations: 75.94 kB / 413.6 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006183/0.2734, allocations: 0.5245 MB / 414.1 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.2736, allocations: 90.52 kB / 414.2 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.2737, allocations: 32.84 kB / 414.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.2737, allocations: 0 / 414.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.2738, allocations: 34.56 kB / 414.3 MB, free: 13.08 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.71e-07/0.2738, allocations: 3.938 kB / 414.3 MB, free: 13.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003896/0.2742, allocations: 121.6 kB / 414.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.2742, allocations: 55.34 kB / 414.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.508e-05/0.2743, allocations: 129.7 kB / 414.6 MB, free: 12.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.2743, allocations: 29.7 kB / 414.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.959e-05/0.2744, allocations: 107.9 kB / 414.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.2744, allocations: 31.55 kB / 414.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-05/0.2745, allocations: 21.72 kB / 414.8 MB, free: 12.55 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.186e-05/0.2745, allocations: 322.8 kB / 415.1 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.2747, allocations: 31.98 kB / 415.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.2748, allocations: 72.25 kB / 415.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.275, allocations: 108.1 kB / 415.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.275, allocations: 0 / 415.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002794/0.2753, allocations: 133.4 kB / 415.4 MB, free: 11.85 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.2753, allocations: 8.125 kB / 415.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2753, allocations: 4 kB / 415.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.2754, allocations: 4 kB / 415.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.2755, allocations: 35.91 kB / 415.5 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.2755, allocations: 0 / 415.5 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.472e-05/0.2756, allocations: 11.91 kB / 415.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.904e-06/0.2756, allocations: 4 kB / 415.5 MB, free: 11.78 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 7.738e-05/0.2757, allocations: 133.6 kB / 415.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.2758, allocations: 11.98 kB / 415.6 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.057e-05/0.2758, allocations: 8.375 kB / 415.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.2758, allocations: 0 / 415.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2758, allocations: 0 / 415.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.175e-05/0.2758, allocations: 85.02 kB / 415.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.2759, allocations: 8 kB / 415.7 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.422e-05/0.276, allocations: 7.984 kB / 415.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.276, allocations: 7.938 kB / 415.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000397/0.2764, allocations: 200.9 kB / 415.9 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004144/0.2768, allocations: 315 kB / 416.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001082/0.277, allocations: 36.08 kB / 416.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.626e-05/0.277, allocations: 106.9 kB / 416.4 MB, free: 10.83 MB / 334.1 MB Notification: Performance of Backend: time 4.81e-07/0.277, allocations: 0 / 416.4 MB, free: 10.83 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004358/0.2775, allocations: 130.3 kB / 416.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of SimCode: time 0.0007549/0.2782, allocations: 0.8057 MB / 417.3 MB, free: 9.844 MB / 334.1 MB Notification: Performance of Templates: time 0.003407/0.2817, allocations: 1.186 MB / 418.5 MB, free: 8.664 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