Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9463/0.9463, allocations: 177.1 MB / 205.3 MB, free: 5.117 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 273.4 MB, free: 1.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.286e-05/2.447e-05, allocations: 2.312 kB / 273.4 MB, free: 1.211 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003301/0.003326, allocations: 1.924 MB / 275.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009026/0.004228, allocations: 486.6 kB / 275.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.874e-05/0.004317, allocations: 0 / 275.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.004431, allocations: 19.86 kB / 275.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.611e-05/0.004518, allocations: 31.72 kB / 275.9 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.004673, allocations: 31.89 kB / 275.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.004826, allocations: 103.6 kB / 276 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.00496, allocations: 34.16 kB / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.005073, allocations: 55.88 kB / 276.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.534e-05/0.005148, allocations: 31.91 kB / 276.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.005174, allocations: 12 kB / 276.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.701e-05/0.005191, allocations: 8 kB / 276.1 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.73e-05/0.005218, allocations: 23.91 kB / 276.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.097e-05/0.005259, allocations: 31.92 kB / 276.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.005418, allocations: 75.66 kB / 276.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.005421, allocations: 0 / 276.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.005422, allocations: 3.938 kB / 276.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.005426, allocations: 0 / 276.3 MB, free: 14.34 MB / 266.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.0004151/0.005841, allocations: 296.8 kB / 276.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.005876, allocations: 8.031 kB / 276.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.04e-05/0.005916, allocations: 12.92 kB / 276.6 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.006082, allocations: 145.6 kB / 276.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.006094, allocations: 4.562 kB / 276.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.006122, allocations: 8.375 kB / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.006308, allocations: 108.7 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.00632, allocations: 0 / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.006331, allocations: 8 kB / 276.9 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.006337, allocations: 0 / 276.9 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.421e-05/0.006391, allocations: 23.92 kB / 276.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005007/0.006892, allocations: 381 kB / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.006997, allocations: 50.53 kB / 277.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.098e-05/0.007028, allocations: 20.84 kB / 277.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.007036, allocations: 0 / 277.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.007058, allocations: 38.5 kB / 277.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.00706, allocations: 0 / 277.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001562/0.007216, allocations: 61.61 kB / 277.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.007246, allocations: 51.41 kB / 277.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.761e-05/0.007333, allocations: 142.7 kB / 277.6 MB, free: 12.86 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.007346, allocations: 25.7 kB / 277.6 MB, free: 12.83 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.121e-05/0.007397, allocations: 108.1 kB / 277.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.007421, allocations: 31.78 kB / 277.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.007463, allocations: 21.72 kB / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.906e-05/0.007552, allocations: 330.8 kB / 278.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.301e-05/0.007575, allocations: 8 kB / 278.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.188e-05/0.007617, allocations: 42.66 kB / 278.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.428e-05/0.007691, allocations: 60.14 kB / 278.2 MB, free: 12.19 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.007694, allocations: 0 / 278.2 MB, free: 12.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001255/0.007819, allocations: 89.47 kB / 278.3 MB, free: 12.1 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.007834, allocations: 11.94 kB / 278.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.00784, allocations: 0 / 278.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.007854, allocations: 4 kB / 278.3 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.007984, allocations: 23.98 kB / 278.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.007988, allocations: 4 kB / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.164e-05/0.00804, allocations: 11.89 kB / 278.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.008048, allocations: 8 kB / 278.4 MB, free: 12.04 MB / 266.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 6.951e-05/0.008117, allocations: 117.9 kB / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.008152, allocations: 15.94 kB / 278.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.818e-05/0.00818, allocations: 8.438 kB / 278.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.008182, allocations: 0 / 278.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.008185, allocations: 0 / 278.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.008189, allocations: 3.984 kB / 278.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.008324, allocations: 85.86 kB / 278.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.008325, allocations: 0 / 278.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.656e-05/0.008422, allocations: 23.98 kB / 278.6 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.008424, allocations: 0 / 278.6 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.008438, allocations: 12 kB / 278.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.008441, allocations: 3.938 kB / 278.6 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.008442, allocations: 0 / 278.6 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.008607, allocations: 163.4 kB / 278.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.308e-05/0.00862, allocations: 11.89 kB / 278.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.008634, allocations: 3.984 kB / 278.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.603e-05/0.008701, allocations: 7.938 kB / 278.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.21e-05/0.008733, allocations: 7.984 kB / 278.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.008739, allocations: 4 kB / 278.8 MB, free: 11.53 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.924e-05/0.008768, allocations: 24.62 kB / 278.9 MB, free: 11.51 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008768, allocations: 8 kB / 278.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000254/0.009022, allocations: 16 kB / 278.9 MB, free: 11.48 MB / 266.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 9.856e-05/0.00912, allocations: 80.42 kB / 279 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001053/0.009226, allocations: 44.7 kB / 279 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.009231, allocations: 4 kB / 279 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.949e-05/0.009261, allocations: 16.86 kB / 279 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.009515, allocations: 23.98 kB / 279 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000707/0.01022, allocations: 300.5 kB / 279.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.484e-05/0.01027, allocations: 67.28 kB / 279.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.277e-05/0.01031, allocations: 8.484 kB / 279.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.51e-05/0.01038, allocations: 63.38 kB / 279.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01039, allocations: 0 / 279.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of Templates: time 0.00361/0.014, allocations: 1.096 MB / 280.6 MB, free: 9.754 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.57361056888476]