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.00133/0.00133, allocations: 83.59 kB / 20.68 MB, free: 1.035 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.001447/0.001447, allocations: 168.2 kB / 23.95 MB, free: 4.168 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.488/1.488, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.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 2.014e-06/2.014e-06, allocations: 0 / 325 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.025e-05/3.226e-05, allocations: 10.67 kB / 325 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003205/0.003238, allocations: 1.856 MB / 326.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.004273, allocations: 477.1 kB / 327.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.00438, allocations: 1.188 kB / 327.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.00451, allocations: 20.06 kB / 327.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.529e-05/0.004595, allocations: 22.34 kB / 327.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.004772, allocations: 29.19 kB / 327.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.004973, allocations: 109 kB / 327.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.005118, allocations: 31.22 kB / 327.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.005229, allocations: 65.95 kB / 327.6 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.149e-05/0.00532, allocations: 29.28 kB / 327.7 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.005351, allocations: 12.38 kB / 327.7 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.333e-05/0.005374, allocations: 8.344 kB / 327.7 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.459e-05/0.005409, allocations: 18.05 kB / 327.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.953e-05/0.005478, allocations: 32.78 kB / 327.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.005697, allocations: 94.89 kB / 327.8 MB, free: 14.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.005701, allocations: 0 / 327.8 MB, free: 14.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.031e-06/0.005702, allocations: 0.875 kB / 327.8 MB, free: 14.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.005708, allocations: 0 / 327.8 MB, free: 14.75 MB / 302.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.0006558/0.006364, allocations: 336.5 kB / 328.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.006405, allocations: 8.281 kB / 328.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.443e-05/0.00646, allocations: 10.39 kB / 328.2 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.006689, allocations: 138.4 kB / 328.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.006707, allocations: 8.906 kB / 328.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.092e-05/0.006748, allocations: 11.38 kB / 328.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003198/0.007068, allocations: 126.9 kB / 328.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.007083, allocations: 0 / 328.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.007104, allocations: 9.172 kB / 328.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.00711, allocations: 11.41 kB / 328.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002461/0.007356, allocations: 69.91 kB / 328.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006863/0.008043, allocations: 424.6 kB / 329 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.008258, allocations: 72.97 kB / 329 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.008396, allocations: 40.67 kB / 329.1 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.008413, allocations: 5.953 kB / 329.1 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.00845, allocations: 39.81 kB / 329.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.008452, allocations: 0 / 329.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004443/0.008896, allocations: 117 kB / 329.2 MB, free: 13.65 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.00894, allocations: 53.5 kB / 329.3 MB, free: 13.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.009074, allocations: 132.2 kB / 329.4 MB, free: 13.47 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.009093, allocations: 25.7 kB / 329.4 MB, free: 13.44 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.352e-05/0.009176, allocations: 109.6 kB / 329.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.009209, allocations: 33.33 kB / 329.6 MB, free: 13.31 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.131e-05/0.00928, allocations: 28.22 kB / 329.6 MB, free: 13.29 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.009434, allocations: 320.3 kB / 329.9 MB, free: 12.97 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.009562, allocations: 40.83 kB / 330 MB, free: 12.96 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.009707, allocations: 63.03 kB / 330 MB, free: 12.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002586/0.009965, allocations: 102.7 kB / 330.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.009968, allocations: 1.625 kB / 330.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003376/0.01031, allocations: 143 kB / 330.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.01032, allocations: 5.188 kB / 330.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.01033, allocations: 2.062 kB / 330.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.01035, allocations: 2.75 kB / 330.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.01053, allocations: 36.98 kB / 330.3 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.01054, allocations: 6.688 kB / 330.3 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.03e-05/0.01063, allocations: 16.44 kB / 330.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.01064, allocations: 4.219 kB / 330.3 MB, free: 12.75 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.000104/0.01075, allocations: 114.7 kB / 330.4 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.01078, allocations: 12.19 kB / 330.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.703e-05/0.01082, allocations: 11.91 kB / 330.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01082, allocations: 1.094 kB / 330.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.01083, allocations: 0.6562 kB / 330.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.01084, allocations: 5.094 kB / 330.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.01104, allocations: 141.2 kB / 330.6 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.01104, allocations: 0.6094 kB / 330.6 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.01119, allocations: 28.12 kB / 330.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.01119, allocations: 1.062 kB / 330.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.01121, allocations: 5.609 kB / 330.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.01121, allocations: 0 / 330.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.01121, allocations: 1.609 kB / 330.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004483/0.01166, allocations: 233.8 kB / 330.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.507e-05/0.01168, allocations: 11.64 kB / 330.9 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.01171, allocations: 3.938 kB / 330.9 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.496e-05/0.0118, allocations: 6.953 kB / 330.9 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.01185, allocations: 9.672 kB / 330.9 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.79e-06/0.01185, allocations: 2.078 kB / 330.9 MB, free: 12.28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.604e-05/0.01192, allocations: 102.3 kB / 331 MB, free: 12.2 MB / 302.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01192, allocations: 0 / 331 MB, free: 12.2 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.01218, allocations: 21.06 kB / 331 MB, free: 12.2 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.0001216/0.0123, allocations: 98.84 kB / 331.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003046/0.01261, allocations: 83 kB / 331.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01261, allocations: 0 / 331.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.01273, allocations: 30.62 kB / 331.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.01309, allocations: 25.72 kB / 331.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007137/0.0138, allocations: 302.4 kB / 331.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.651e-05/0.0139, allocations: 88.53 kB / 331.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.393e-05/0.01394, allocations: 6.75 kB / 331.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.919e-05/0.01398, allocations: 13.28 kB / 331.7 MB, free: 11.74 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.01398, allocations: 0 / 331.7 MB, free: 11.74 MB / 302.1 MB Notification: Performance of Templates: time 0.00434/0.01832, allocations: 1.049 MB / 332.7 MB, free: 11.3 MB / 302.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins/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.3614862486720085]