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.0008232/0.0008232, allocations: 83.69 kB / 21.43 MB, free: 3.125 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.00341/0.00341, allocations: 161.6 kB / 24.7 MB, free: 9.41 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.8816/0.8816, allocations: 177.1 MB / 205 MB, free: 5.73 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.353e-06/1.353e-06, allocations: 0 / 325.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.107e-05, allocations: 8.531 kB / 325.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.00197/0.001992, allocations: 1.864 MB / 327.7 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005931/0.002585, allocations: 470.8 kB / 328.1 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.672e-05/0.002661, allocations: 0 / 328.1 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.002765, allocations: 23.81 kB / 328.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.359e-05/0.002818, allocations: 23.72 kB / 328.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001463/0.002964, allocations: 31.95 kB / 328.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.003094, allocations: 103.6 kB / 328.3 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.003208, allocations: 33.5 kB / 328.3 MB, free: 12.9 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.535e-05/0.003283, allocations: 59.83 kB / 328.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.34e-05/0.003337, allocations: 31.89 kB / 328.4 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.003361, allocations: 8 kB / 328.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.25e-05/0.003373, allocations: 8 kB / 328.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/0.003394, allocations: 19.92 kB / 328.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.017e-05/0.003424, allocations: 31.97 kB / 328.5 MB, free: 12.74 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.003558, allocations: 103.6 kB / 328.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.00356, allocations: 0 / 328.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.003561, allocations: 0 / 328.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.003565, allocations: 0 / 328.6 MB, free: 12.64 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.0003829/0.003948, allocations: 330.1 kB / 328.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.003982, allocations: 16.02 kB / 328.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/0.004013, allocations: 8.891 kB / 328.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.004173, allocations: 141.6 kB / 329.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.004184, allocations: 8.562 kB / 329.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.004208, allocations: 8.375 kB / 329.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.004389, allocations: 128 kB / 329.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.004399, allocations: 0 / 329.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.00441, allocations: 4 kB / 329.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.004416, allocations: 4 kB / 329.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.004537, allocations: 67.88 kB / 329.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004304/0.004967, allocations: 431.6 kB / 329.7 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.005094, allocations: 70.61 kB / 329.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.7e-05/0.005151, allocations: 40.77 kB / 329.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.005161, allocations: 4 kB / 329.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.005181, allocations: 38.5 kB / 329.9 MB, free: 11.24 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.005182, allocations: 0 / 329.9 MB, free: 11.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002305/0.005413, allocations: 125.7 kB / 330 MB, free: 11.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.005441, allocations: 55.41 kB / 330 MB, free: 11.05 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.87e-05/0.005509, allocations: 132.3 kB / 330.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.00552, allocations: 29.7 kB / 330.2 MB, free: 10.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.995e-05/0.00557, allocations: 108 kB / 330.3 MB, free: 10.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.005588, allocations: 31.73 kB / 330.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/0.005621, allocations: 29.7 kB / 330.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.792e-05/0.005698, allocations: 314.8 kB / 330.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.856e-05/0.005757, allocations: 39.97 kB / 330.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.454e-05/0.005822, allocations: 67.89 kB / 330.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.005941, allocations: 104.1 kB / 330.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.005943, allocations: 0 / 330.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001546/0.006098, allocations: 145.4 kB / 331 MB, free: 10 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.006111, allocations: 11.98 kB / 331 MB, free: 9.988 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.006116, allocations: 0 / 331 MB, free: 9.988 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.006128, allocations: 4 kB / 331 MB, free: 9.984 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.299e-05/0.006221, allocations: 27.98 kB / 331.1 MB, free: 9.957 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.006225, allocations: 0 / 331.1 MB, free: 9.957 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.813e-05/0.006263, allocations: 23.86 kB / 331.1 MB, free: 9.934 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.006269, allocations: 8.125 kB / 331.1 MB, free: 9.926 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.561e-05/0.006324, allocations: 113.8 kB / 331.2 MB, free: 9.805 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.00634, allocations: 11.89 kB / 331.2 MB, free: 9.793 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.156e-05/0.006361, allocations: 8.531 kB / 331.2 MB, free: 9.789 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.006364, allocations: 7.938 kB / 331.2 MB, free: 9.781 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.006367, allocations: 0 / 331.2 MB, free: 9.781 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.00637, allocations: 3.984 kB / 331.2 MB, free: 9.777 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.006479, allocations: 133.4 kB / 331.4 MB, free: 9.617 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.00648, allocations: 4 kB / 331.4 MB, free: 9.613 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.029e-05/0.006551, allocations: 27.97 kB / 331.4 MB, free: 9.586 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.006552, allocations: 4 kB / 331.4 MB, free: 9.582 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.006561, allocations: 7.938 kB / 331.4 MB, free: 9.574 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.006562, allocations: 0 / 331.4 MB, free: 9.574 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.006563, allocations: 3.938 kB / 331.4 MB, free: 9.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.006788, allocations: 223.4 kB / 331.6 MB, free: 9.336 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.105e-05/0.006799, allocations: 11.89 kB / 331.6 MB, free: 9.324 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.006812, allocations: 3.938 kB / 331.7 MB, free: 9.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.326e-05/0.006855, allocations: 12.03 kB / 331.7 MB, free: 9.309 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.006889, allocations: 11.98 kB / 331.7 MB, free: 9.297 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.006892, allocations: 3.938 kB / 331.7 MB, free: 9.293 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.02e-05/0.006932, allocations: 95.27 kB / 331.8 MB, free: 9.199 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006932, allocations: 0 / 331.8 MB, free: 9.199 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001544/0.007086, allocations: 20 kB / 331.8 MB, free: 9.18 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 6.42e-05/0.007151, allocations: 95.25 kB / 331.9 MB, free: 9.074 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000153/0.007303, allocations: 88 kB / 332 MB, free: 8.988 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.007305, allocations: 0 / 332 MB, free: 8.988 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.996e-05/0.007355, allocations: 35.97 kB / 332 MB, free: 8.953 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.007571, allocations: 15.98 kB / 332 MB, free: 8.938 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004355/0.008007, allocations: 327.7 kB / 332.3 MB, free: 8.582 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.492e-05/0.008061, allocations: 92.83 kB / 332.4 MB, free: 8.469 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.834e-05/0.00809, allocations: 16.5 kB / 332.4 MB, free: 8.453 MB / 298.7 MB Notification: Performance of SimCode: time 3.7e-07/0.00809, allocations: 0 / 332.4 MB, free: 8.453 MB / 298.7 MB Notification: Performance of Templates: time 0.001835/0.009925, allocations: 1.335 MB / 333.8 MB, free: 7.125 MB / 298.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=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.113780456595123]