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.001389/0.001389, allocations: 111 kB / 21.19 MB, free: 0.6758 MB / 14.72 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.001594/0.001594, allocations: 215.5 kB / 24.48 MB, free: 3.98 MB / 14.72 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 1.44/1.44, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00156/0.00156, allocations: 51.92 kB / 378.9 MB, free: 2.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2505, allocations: 53.37 MB / 432.3 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003267/0.2538, allocations: 1.848 MB / 434.2 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009108/0.2547, allocations: 466.8 kB / 434.6 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.242e-05/0.2548, allocations: 4 kB / 434.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.2549, allocations: 11.86 kB / 434.6 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.622e-05/0.2549, allocations: 27.72 kB / 434.7 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000162/0.2551, allocations: 31.97 kB / 434.7 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.2553, allocations: 107.6 kB / 434.8 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.2554, allocations: 33.23 kB / 434.8 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.072e-05/0.2555, allocations: 39.86 kB / 434.9 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.774e-05/0.2556, allocations: 43.78 kB / 434.9 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.2556, allocations: 8 kB / 434.9 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.332e-05/0.2556, allocations: 8 kB / 434.9 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.658e-05/0.2557, allocations: 27.91 kB / 435 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.117e-05/0.2557, allocations: 31.86 kB / 435 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.2559, allocations: 114.4 kB / 435.1 MB, free: 3.961 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2559, allocations: 3.938 kB / 435.1 MB, free: 3.957 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2559, allocations: 4 kB / 435.1 MB, free: 3.953 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.2559, allocations: 0 / 435.1 MB, free: 3.953 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.000577/0.2565, allocations: 330.2 kB / 435.4 MB, free: 3.602 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.2565, allocations: 8.031 kB / 435.4 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/0.2566, allocations: 8.891 kB / 435.4 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.2568, allocations: 138.4 kB / 435.6 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.2568, allocations: 8.5 kB / 435.6 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.535e-05/0.2568, allocations: 16.31 kB / 435.6 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002851/0.2571, allocations: 123.3 kB / 435.7 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.2571, allocations: 0 / 435.7 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.2572, allocations: 4 kB / 435.7 MB, free: 3.266 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.2572, allocations: 4 kB / 435.7 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002413/0.2574, allocations: 67.94 kB / 435.8 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000673/0.2581, allocations: 427.6 kB / 436.2 MB, free: 2.738 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.2583, allocations: 78.55 kB / 436.3 MB, free: 2.652 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.2584, allocations: 36.83 kB / 436.3 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.2584, allocations: 4 kB / 436.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.2585, allocations: 30.56 kB / 436.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.2585, allocations: 0 / 436.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004398/0.2589, allocations: 125.7 kB / 436.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.259, allocations: 59.41 kB / 436.5 MB, free: 2.371 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.2591, allocations: 133.7 kB / 436.7 MB, free: 2.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.2591, allocations: 29.7 kB / 436.7 MB, free: 2.195 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.128e-05/0.2592, allocations: 111.9 kB / 436.8 MB, free: 2.082 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.2592, allocations: 23.8 kB / 436.8 MB, free: 2.059 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.747e-05/0.2593, allocations: 33.66 kB / 436.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.2594, allocations: 318.8 kB / 437.2 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.2595, allocations: 31.98 kB / 437.2 MB, free: 1.668 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.2596, allocations: 68.2 kB / 437.3 MB, free: 1.586 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/0.2599, allocations: 112.1 kB / 437.4 MB, free: 1.461 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2599, allocations: 7.875 kB / 437.4 MB, free: 1.453 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003066/0.2602, allocations: 133.6 kB / 437.5 MB, free: 1.316 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.2602, allocations: 8.031 kB / 437.5 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.2602, allocations: 0 / 437.5 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.2602, allocations: 4 kB / 437.5 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.2604, allocations: 27.98 kB / 437.6 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.2604, allocations: 0 / 437.6 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.017e-05/0.2605, allocations: 15.98 kB / 437.6 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.2605, allocations: 4 kB / 437.6 MB, free: 1.258 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 9.842e-05/0.2606, allocations: 125.7 kB / 437.7 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.2606, allocations: 15.95 kB / 437.7 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.775e-05/0.2607, allocations: 12.36 kB / 437.7 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.2607, allocations: 4 kB / 437.7 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2607, allocations: 0 / 437.7 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.2607, allocations: 0 / 437.7 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.2609, allocations: 145.1 kB / 437.9 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2609, allocations: 0 / 437.9 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.261, allocations: 19.98 kB / 437.9 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.261, allocations: 4 kB / 437.9 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.261, allocations: 0 / 437.9 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.261, allocations: 0 / 437.9 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.261, allocations: 4 kB / 437.9 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004199/0.2614, allocations: 231.3 kB / 438.1 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.689e-05/0.2615, allocations: 12.03 kB / 438.1 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.2615, allocations: 8.031 kB / 438.2 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.514e-05/0.2616, allocations: 4 kB / 438.2 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.2616, allocations: 7.984 kB / 438.2 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.2616, allocations: 0 / 438.2 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.402e-05/0.2617, allocations: 101.5 kB / 438.3 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2617, allocations: 4 kB / 438.3 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.2619, allocations: 16 kB / 438.3 MB, free: 0.5 MB / 334.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 9.278e-05/0.262, allocations: 99.25 kB / 438.4 MB, free: 404 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002807/0.2623, allocations: 83.84 kB / 438.5 MB, free: 320 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2623, allocations: 4 kB / 438.5 MB, free: 316 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.2624, allocations: 36.17 kB / 438.5 MB, free: 280 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.2628, allocations: 30.61 kB / 438.5 MB, free: 252 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006974/0.2635, allocations: 360.7 kB / 438.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.545e-05/0.2635, allocations: 92.14 kB / 439 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.067e-05/0.2636, allocations: 8.422 kB / 439 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.301e-05/0.2636, allocations: 11.44 kB / 439 MB, free: 15.73 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2636, allocations: 0 / 439 MB, free: 15.73 MB / 350.1 MB Notification: Performance of Templates: time 0.003908/0.2675, allocations: 1.165 MB / 440.2 MB, free: 14.59 MB / 350.1 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=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.236983062000945]