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.001124/0.001129, allocations: 110.8 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001238/0.001238, allocations: 212 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2429, allocations: 50.55 MB / 409.9 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003249/0.2462, allocations: 1.864 MB / 411.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007926/0.247, allocations: 490.8 kB / 412.3 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.798e-05/0.2471, allocations: 3.938 kB / 412.3 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001055/0.2472, allocations: 7.875 kB / 412.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.79e-05/0.2473, allocations: 23.78 kB / 412.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001497/0.2474, allocations: 27.95 kB / 412.3 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.2476, allocations: 107.6 kB / 412.4 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.2478, allocations: 41.38 kB / 412.5 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.599e-05/0.2479, allocations: 43.84 kB / 412.5 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.411e-05/0.248, allocations: 51.7 kB / 412.6 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.709e-05/0.248, allocations: 8 kB / 412.6 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.919e-05/0.248, allocations: 8 kB / 412.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.827e-05/0.2481, allocations: 19.92 kB / 412.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.556e-05/0.2481, allocations: 47.73 kB / 412.6 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.2483, allocations: 104.9 kB / 412.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2483, allocations: 3.938 kB / 412.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.2483, allocations: 4 kB / 412.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.2483, allocations: 0 / 412.8 MB, free: 14.88 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.0005706/0.2489, allocations: 407.3 kB / 413.2 MB, free: 14.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.249, allocations: 8.031 kB / 413.2 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.308e-05/0.249, allocations: 8.844 kB / 413.2 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/0.2493, allocations: 196.1 kB / 413.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.2494, allocations: 12.56 kB / 413.4 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.2494, allocations: 4.375 kB / 413.4 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.2497, allocations: 122.5 kB / 413.5 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.2497, allocations: 0 / 413.5 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.2497, allocations: 8 kB / 413.5 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.2497, allocations: 4 kB / 413.5 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002267/0.2499, allocations: 79.88 kB / 413.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000665/0.2506, allocations: 0.5245 MB / 414.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.2508, allocations: 82.53 kB / 414.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.251, allocations: 36.84 kB / 414.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.251, allocations: 0 / 414.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.251, allocations: 38.55 kB / 414.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/0.251, allocations: 3.938 kB / 414.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003828/0.2514, allocations: 121.8 kB / 414.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.2514, allocations: 55.41 kB / 414.4 MB, free: 12.99 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.2515, allocations: 129.7 kB / 414.6 MB, free: 12.85 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.2516, allocations: 25.7 kB / 414.6 MB, free: 12.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.01e-05/0.2516, allocations: 107.9 kB / 414.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.2517, allocations: 31.55 kB / 414.7 MB, free: 12.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.2517, allocations: 25.72 kB / 414.8 MB, free: 12.65 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.2518, allocations: 322.8 kB / 415.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.252, allocations: 39.91 kB / 415.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.2521, allocations: 68.27 kB / 415.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.2523, allocations: 104.1 kB / 415.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.2523, allocations: 0 / 415.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002778/0.2526, allocations: 133.4 kB / 415.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.2526, allocations: 8 kB / 415.4 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2527, allocations: 128 / 415.4 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.2527, allocations: 8 kB / 415.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.2528, allocations: 39.91 kB / 415.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.2529, allocations: 0 / 415.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.728e-05/0.2529, allocations: 15.89 kB / 415.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.253, allocations: 4 kB / 415.5 MB, free: 11.88 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 8.72e-05/0.2531, allocations: 125.7 kB / 415.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.2531, allocations: 4 kB / 415.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.362e-05/0.2531, allocations: 12.38 kB / 415.6 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.2531, allocations: 3.984 kB / 415.6 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2531, allocations: 0 / 415.6 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/0.2532, allocations: 88.95 kB / 415.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.2532, allocations: 3.984 kB / 415.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.877e-05/0.2533, allocations: 11.94 kB / 415.7 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.2534, allocations: 11.92 kB / 415.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004007/0.2538, allocations: 196.8 kB / 415.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004343/0.2542, allocations: 310.6 kB / 416.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001076/0.2544, allocations: 36.02 kB / 416.3 MB, free: 11.03 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.995e-05/0.2544, allocations: 102.4 kB / 416.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of Backend: time 4.21e-07/0.2544, allocations: 0 / 416.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004478/0.2549, allocations: 126.3 kB / 416.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008451/0.2557, allocations: 0.8046 MB / 417.3 MB, free: 9.953 MB / 334.1 MB Notification: Performance of Templates: time 0.003656/0.2594, allocations: 1.195 MB / 418.5 MB, free: 8.766 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