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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 81.73 kB / 20.68 MB, free: 1.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001788/0.001788, allocations: 154.8 kB / 23.94 MB, free: 4.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 173.3 MB / 200.4 MB, free: 12.89 MB / 190.1 MB " [Timeout remaining time 178] 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=5002,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=5002,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 0 / 318.9 MB, free: 3.598 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.38e-05/5.647e-05, allocations: 2.281 kB / 318.9 MB, free: 3.594 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.004295/0.004352, allocations: 1.828 MB / 320.7 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.005395, allocations: 437.3 kB / 321.1 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.005505, allocations: 2.281 kB / 321.2 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001704/0.005675, allocations: 15.84 kB / 321.2 MB, free: 2.055 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.217e-05/0.005757, allocations: 21.28 kB / 321.2 MB, free: 2.039 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.005964, allocations: 26.12 kB / 321.2 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000241/0.006205, allocations: 112.8 kB / 321.3 MB, free: 1.969 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.006391, allocations: 28.31 kB / 321.4 MB, free: 1.949 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.006526, allocations: 66.77 kB / 321.4 MB, free: 1.918 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.459e-05/0.00662, allocations: 27.23 kB / 321.4 MB, free: 1.91 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.11e-05/0.006671, allocations: 8.969 kB / 321.5 MB, free: 1.91 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.78e-05/0.006699, allocations: 8.781 kB / 321.5 MB, free: 1.91 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.562e-05/0.006735, allocations: 21.66 kB / 321.5 MB, free: 1.895 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.366e-05/0.006788, allocations: 30.7 kB / 321.5 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.00705, allocations: 105.3 kB / 321.6 MB, free: 1.836 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.007057, allocations: 5.281 kB / 321.6 MB, free: 1.832 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.007059, allocations: 0 / 321.6 MB, free: 1.832 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.007066, allocations: 0 / 321.6 MB, free: 1.832 MB / 286.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.0006943/0.00776, allocations: 335.9 kB / 321.9 MB, free: 1.527 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.907e-05/0.007819, allocations: 10.08 kB / 322 MB, free: 1.527 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.049e-05/0.007879, allocations: 15.67 kB / 322 MB, free: 1.52 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003043/0.008184, allocations: 137.1 kB / 322.1 MB, free: 1.375 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.008201, allocations: 9.828 kB / 322.1 MB, free: 1.371 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.338e-05/0.008245, allocations: 10.16 kB / 322.1 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003608/0.008606, allocations: 118.8 kB / 322.2 MB, free: 1.293 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.008627, allocations: 2.5 kB / 322.2 MB, free: 1.293 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.008651, allocations: 9.344 kB / 322.3 MB, free: 1.285 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.00866, allocations: 1.5 kB / 322.3 MB, free: 1.285 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002874/0.008948, allocations: 74.58 kB / 322.3 MB, free: 1.266 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008577/0.009806, allocations: 430.2 kB / 322.7 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/0.01005, allocations: 74.14 kB / 322.8 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.01019, allocations: 41.58 kB / 322.9 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.01021, allocations: 1.312 kB / 322.9 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/0.01025, allocations: 45.75 kB / 322.9 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 1.442e-06/0.01025, allocations: 0 / 322.9 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005902/0.01084, allocations: 120.6 kB / 323 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.01089, allocations: 52.56 kB / 323.1 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.01105, allocations: 131.4 kB / 323.2 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.01107, allocations: 25.7 kB / 323.2 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.659e-05/0.01117, allocations: 122 kB / 323.3 MB, free: 412 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.01121, allocations: 29.67 kB / 323.4 MB, free: 388 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.836e-05/0.01127, allocations: 26.92 kB / 323.4 MB, free: 364 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.01138, allocations: 320 kB / 323.7 MB, free: 40 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.01151, allocations: 32.53 kB / 323.7 MB, free: 32 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.0117, allocations: 67.67 kB / 323.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003558/0.01205, allocations: 108.4 kB / 323.9 MB, free: 15.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.01206, allocations: 0 / 323.9 MB, free: 15.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000463/0.01252, allocations: 139 kB / 324.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.378e-05/0.01255, allocations: 9.156 kB / 324.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.01257, allocations: 1.984 kB / 324.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.883e-05/0.01261, allocations: 5.469 kB / 324.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/0.01286, allocations: 33.5 kB / 324.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.01287, allocations: 3.391 kB / 324.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.01298, allocations: 20.39 kB / 324.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.013, allocations: 7.672 kB / 324.1 MB, free: 15.82 MB / 302.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.0001972/0.0132, allocations: 119.8 kB / 324.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.335e-05/0.01327, allocations: 11.05 kB / 324.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.614e-05/0.01333, allocations: 11.91 kB / 324.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.01334, allocations: 1.25 kB / 324.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.01334, allocations: 4 kB / 324.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.01335, allocations: 1.953 kB / 324.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002594/0.01361, allocations: 128.6 kB / 324.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.01361, allocations: 1.156 kB / 324.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.01379, allocations: 25.2 kB / 324.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.01379, allocations: 0 / 324.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.01381, allocations: 9 kB / 324.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.199e-06/0.01381, allocations: 1.609 kB / 324.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.01382, allocations: 0 / 324.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007201/0.01454, allocations: 233.7 kB / 324.7 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.906e-05/0.01457, allocations: 7.219 kB / 324.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.01459, allocations: 5.25 kB / 324.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.0147, allocations: 10.06 kB / 324.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.588e-05/0.01478, allocations: 9.75 kB / 324.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.01479, allocations: 2.219 kB / 324.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001157/0.01491, allocations: 100.2 kB / 324.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01491, allocations: 0 / 324.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002942/0.0152, allocations: 24.45 kB / 324.8 MB, free: 15.26 MB / 302.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.0001992/0.0154, allocations: 106.5 kB / 324.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003681/0.01577, allocations: 74.66 kB / 325 MB, free: 15.15 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.01577, allocations: 1.375 kB / 325 MB, free: 15.15 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.01591, allocations: 34.25 kB / 325 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000418/0.01632, allocations: 31.81 kB / 325.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009688/0.01729, allocations: 303.3 kB / 325.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.01743, allocations: 85.52 kB / 325.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.48e-05/0.01748, allocations: 5.688 kB / 325.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.725e-05/0.01753, allocations: 14 kB / 325.5 MB, free: 14.81 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01753, allocations: 4 kB / 325.5 MB, free: 14.81 MB / 302.1 MB Notification: Performance of Templates: time 0.006295/0.02382, allocations: 1.033 MB / 326.5 MB, free: 14.67 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.348632819950581]