Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 109.2 kB / 17.75 MB, free: 5.223 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 190.4 kB / 18.67 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 51.92 kB / 352 MB, free: 3.293 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2701, allocations: 49.43 MB / 401.4 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.002972/0.2731, allocations: 1.874 MB / 403.3 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007127/0.2738, allocations: 450.8 kB / 403.7 MB, free: 6.598 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.342e-05/0.2739, allocations: 4 kB / 403.7 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.274, allocations: 15.86 kB / 403.7 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.006e-05/0.2741, allocations: 19.8 kB / 403.7 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.2743, allocations: 31.89 kB / 403.8 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.2744, allocations: 103.6 kB / 403.9 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.2746, allocations: 49.31 kB / 403.9 MB, free: 6.375 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.848e-05/0.2747, allocations: 39.86 kB / 404 MB, free: 6.336 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.604e-05/0.2748, allocations: 43.78 kB / 404 MB, free: 6.293 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.2748, allocations: 8 kB / 404 MB, free: 6.285 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.055e-05/0.2748, allocations: 8 kB / 404 MB, free: 6.277 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.817e-05/0.2748, allocations: 23.91 kB / 404 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.081e-05/0.2749, allocations: 47.73 kB / 404.1 MB, free: 6.207 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.2751, allocations: 100.7 kB / 404.2 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2751, allocations: 0 / 404.2 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2751, allocations: 4 kB / 404.2 MB, free: 6.109 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.2751, allocations: 4 kB / 404.2 MB, free: 6.105 MB / 318.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.0005987/0.2757, allocations: 407.2 kB / 404.6 MB, free: 5.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.2758, allocations: 8.031 kB / 404.6 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.373e-05/0.2758, allocations: 12.84 kB / 404.6 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.276, allocations: 188.2 kB / 404.8 MB, free: 5.418 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.276, allocations: 8.562 kB / 404.8 MB, free: 5.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/0.2761, allocations: 12.38 kB / 404.8 MB, free: 5.398 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/0.2764, allocations: 120.7 kB / 404.9 MB, free: 5.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.2764, allocations: 4 kB / 404.9 MB, free: 5.266 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.2764, allocations: 0 / 404.9 MB, free: 5.266 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.2764, allocations: 4 kB / 404.9 MB, free: 5.262 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002276/0.2766, allocations: 75.89 kB / 405 MB, free: 5.188 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006303/0.2773, allocations: 0.5246 MB / 405.5 MB, free: 4.598 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.2775, allocations: 74.55 kB / 405.6 MB, free: 4.516 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.2776, allocations: 40.83 kB / 405.7 MB, free: 4.473 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.2776, allocations: 4 kB / 405.7 MB, free: 4.469 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.2777, allocations: 34.56 kB / 405.7 MB, free: 4.426 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.2777, allocations: 0 / 405.7 MB, free: 4.426 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.000434/0.2781, allocations: 125.5 kB / 405.8 MB, free: 4.297 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.2782, allocations: 51.41 kB / 405.9 MB, free: 4.234 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.2783, allocations: 129 kB / 406 MB, free: 4.102 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.2783, allocations: 37.64 kB / 406 MB, free: 4.059 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.809e-05/0.2784, allocations: 112 kB / 406.1 MB, free: 3.945 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.2784, allocations: 35.48 kB / 406.2 MB, free: 3.91 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.885e-05/0.2785, allocations: 25.7 kB / 406.2 MB, free: 3.879 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.2786, allocations: 318.8 kB / 406.5 MB, free: 3.559 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.2787, allocations: 35.97 kB / 406.5 MB, free: 3.523 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.2789, allocations: 72.27 kB / 406.6 MB, free: 3.438 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002434/0.2791, allocations: 112.1 kB / 406.7 MB, free: 3.312 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2791, allocations: 0 / 406.7 MB, free: 3.312 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002931/0.2794, allocations: 129.4 kB / 406.8 MB, free: 3.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.2795, allocations: 11.98 kB / 406.9 MB, free: 3.168 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.2795, allocations: 0 / 406.9 MB, free: 3.168 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.2795, allocations: 4 kB / 406.9 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.2797, allocations: 27.98 kB / 406.9 MB, free: 3.137 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.2797, allocations: 4.125 kB / 406.9 MB, free: 3.133 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.749e-05/0.2798, allocations: 11.98 kB / 406.9 MB, free: 3.121 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.2798, allocations: 4 kB / 406.9 MB, free: 3.117 MB / 318.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 9.324e-05/0.2799, allocations: 129.7 kB / 407 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.2799, allocations: 11.89 kB / 407.1 MB, free: 2.969 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.235e-05/0.28, allocations: 8.375 kB / 407.1 MB, free: 2.957 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.28, allocations: 3.984 kB / 407.1 MB, free: 2.953 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.28, allocations: 0 / 407.1 MB, free: 2.953 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-05/0.28, allocations: 89.02 kB / 407.1 MB, free: 2.848 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.2801, allocations: 0 / 407.1 MB, free: 2.848 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.2802, allocations: 12 kB / 407.2 MB, free: 2.836 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.2802, allocations: 11.92 kB / 407.2 MB, free: 2.824 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004474/0.2807, allocations: 196.8 kB / 407.4 MB, free: 2.625 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004414/0.2811, allocations: 318.6 kB / 407.7 MB, free: 2.297 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001092/0.2812, allocations: 32.02 kB / 407.7 MB, free: 2.266 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.916e-05/0.2813, allocations: 99.27 kB / 407.8 MB, free: 2.168 MB / 318.1 MB Notification: Performance of Backend: time 3.3e-07/0.2813, allocations: 0 / 407.8 MB, free: 2.168 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004276/0.2817, allocations: 129.4 kB / 407.9 MB, free: 2.039 MB / 318.1 MB Notification: Performance of SimCode: time 0.0007806/0.2825, allocations: 0.807 MB / 408.7 MB, free: 1.184 MB / 318.1 MB Notification: Performance of Templates: time 0.003326/0.2859, allocations: 1.208 MB / 409.9 MB, free: 15.98 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches