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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 102.4 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008776/0.0008777, allocations: 39.94 kB / 350 MB, free: 92 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2891, allocations: 49.44 MB / 399.5 MB, free: 33.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.002838/0.292, allocations: 1.921 MB / 401.4 MB, free: 31.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006669/0.2927, allocations: 439 kB / 401.8 MB, free: 31.03 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.2928, allocations: 11.94 kB / 401.8 MB, free: 31.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000121/0.293, allocations: 7.922 kB / 401.8 MB, free: 31.01 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.354e-05/0.293, allocations: 19.84 kB / 401.8 MB, free: 30.99 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001359/0.2932, allocations: 19.98 kB / 401.9 MB, free: 30.97 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.2933, allocations: 103.6 kB / 402 MB, free: 30.87 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.2935, allocations: 29.39 kB / 402 MB, free: 30.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.846e-05/0.2935, allocations: 39.84 kB / 402 MB, free: 30.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.888e-05/0.2936, allocations: 51.7 kB / 402.1 MB, free: 30.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.2936, allocations: 8 kB / 402.1 MB, free: 30.74 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.827e-05/0.2936, allocations: 7.938 kB / 402.1 MB, free: 30.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.161e-05/0.2937, allocations: 11.94 kB / 402.1 MB, free: 30.72 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.367e-05/0.2937, allocations: 43.73 kB / 402.2 MB, free: 30.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.2939, allocations: 101.2 kB / 402.3 MB, free: 30.58 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2939, allocations: 0 / 402.3 MB, free: 30.58 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.2939, allocations: 0 / 402.3 MB, free: 30.58 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.2939, allocations: 0 / 402.3 MB, free: 30.58 MB / 298.7 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.0005064/0.2944, allocations: 407.3 kB / 402.7 MB, free: 30.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.2944, allocations: 12.03 kB / 402.7 MB, free: 30.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.2945, allocations: 8.844 kB / 402.7 MB, free: 30.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.2946, allocations: 200.1 kB / 402.9 MB, free: 29.88 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.2947, allocations: 8.562 kB / 402.9 MB, free: 29.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.2947, allocations: 12.38 kB / 402.9 MB, free: 29.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.2949, allocations: 123.3 kB / 403 MB, free: 29.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.295, allocations: 7.906 kB / 403 MB, free: 29.72 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.295, allocations: 0 / 403 MB, free: 29.72 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.295, allocations: 0 / 403 MB, free: 29.72 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002012/0.2952, allocations: 79.83 kB / 403.1 MB, free: 29.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005333/0.2957, allocations: 0.5246 MB / 403.6 MB, free: 29.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.2959, allocations: 70.61 kB / 403.7 MB, free: 28.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.296, allocations: 44.83 kB / 403.7 MB, free: 28.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.2961, allocations: 0 / 403.7 MB, free: 28.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.2961, allocations: 38.5 kB / 403.8 MB, free: 28.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.2961, allocations: 0 / 403.8 MB, free: 28.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003652/0.2965, allocations: 129.9 kB / 403.9 MB, free: 28.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.366e-05/0.2965, allocations: 55.41 kB / 404 MB, free: 28.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.081e-05/0.2966, allocations: 127.5 kB / 404.1 MB, free: 28.55 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.417e-06/0.2966, allocations: 29.7 kB / 404.1 MB, free: 28.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.795e-05/0.2967, allocations: 107.9 kB / 404.2 MB, free: 28.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.2967, allocations: 27.56 kB / 404.2 MB, free: 28.38 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.2967, allocations: 29.7 kB / 404.3 MB, free: 28.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.227e-05/0.2968, allocations: 322.8 kB / 404.6 MB, free: 28.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.966e-05/0.2969, allocations: 27.98 kB / 404.6 MB, free: 27.99 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.999e-05/0.297, allocations: 75.45 kB / 404.7 MB, free: 27.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.2972, allocations: 108.1 kB / 404.8 MB, free: 27.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2972, allocations: 3.938 kB / 404.8 MB, free: 27.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00024/0.2974, allocations: 137.4 kB / 404.9 MB, free: 27.64 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.2975, allocations: 4 kB / 404.9 MB, free: 27.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2975, allocations: 8 kB / 404.9 MB, free: 27.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.2975, allocations: 128 / 404.9 MB, free: 27.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.2977, allocations: 35.92 kB / 405 MB, free: 27.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.2977, allocations: 4 kB / 405 MB, free: 27.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.772e-05/0.2977, allocations: 11.89 kB / 405 MB, free: 27.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.2978, allocations: 8 kB / 405 MB, free: 27.57 MB / 298.7 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 5.998e-05/0.2978, allocations: 125.7 kB / 405.1 MB, free: 27.44 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.2979, allocations: 7.906 kB / 405.1 MB, free: 27.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.31e-05/0.2979, allocations: 16.36 kB / 405.1 MB, free: 27.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2979, allocations: 4 kB / 405.1 MB, free: 27.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.2979, allocations: 0 / 405.1 MB, free: 27.41 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.2979, allocations: 0 / 405.1 MB, free: 27.41 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.2981, allocations: 201.5 kB / 405.3 MB, free: 27.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2981, allocations: 0 / 405.3 MB, free: 27.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.2982, allocations: 27.92 kB / 405.4 MB, free: 27.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2982, allocations: 4 kB / 405.4 MB, free: 27.13 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.2982, allocations: 0 / 405.4 MB, free: 27.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.2982, allocations: 0 / 405.4 MB, free: 27.13 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2982, allocations: 0 / 405.4 MB, free: 27.13 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/0.2996, allocations: 1.328 MB / 406.7 MB, free: 25.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.835e-05/0.2996, allocations: 89.05 kB / 406.8 MB, free: 25.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.2996, allocations: 0 / 406.8 MB, free: 25.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.454e-05/0.2997, allocations: 4 kB / 406.8 MB, free: 25.55 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.362e-05/0.2998, allocations: 7.922 kB / 406.8 MB, free: 25.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.2998, allocations: 8 kB / 406.8 MB, free: 25.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.139e-05/0.2999, allocations: 102.5 kB / 406.9 MB, free: 25.44 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2999, allocations: 0 / 406.9 MB, free: 25.44 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003115/0.3002, allocations: 35.84 kB / 406.9 MB, free: 25.4 MB / 298.7 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.0001092/0.3003, allocations: 99.28 kB / 407 MB, free: 25.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002541/0.3006, allocations: 87.88 kB / 407.1 MB, free: 25.21 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3006, allocations: 4.25 kB / 407.1 MB, free: 25.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.3007, allocations: 31.98 kB / 407.2 MB, free: 25.17 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.3011, allocations: 23.98 kB / 407.2 MB, free: 25.15 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006854/0.3018, allocations: 0.5166 MB / 407.7 MB, free: 24.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.3019, allocations: 0.7004 MB / 408.4 MB, free: 23.87 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.139e-05/0.302, allocations: 8.438 kB / 408.4 MB, free: 23.86 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.302, allocations: 15.44 kB / 408.4 MB, free: 23.84 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.302, allocations: 0 / 408.4 MB, free: 23.84 MB / 298.7 MB Notification: Performance of Templates: time 0.002981/0.305, allocations: 1.011 MB / 409.4 MB, free: 22.84 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches