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.001632/0.001632, allocations: 112.5 kB / 21.19 MB, free: 0.7617 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.001867/0.001867, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.495/1.495, allocations: 230.6 MB / 258.3 MB, free: 7.98 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.001538/0.001538, allocations: 47.92 kB / 379 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3046, allocations: 53.37 MB / 432.4 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.004979/0.3096, allocations: 1.903 MB / 434.3 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.3109, allocations: 498.7 kB / 434.8 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.3111, allocations: 7.938 kB / 434.8 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.3112, allocations: 11.86 kB / 434.8 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.3113, allocations: 35.7 kB / 434.8 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.3116, allocations: 27.97 kB / 434.8 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.3118, allocations: 103.6 kB / 434.9 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001977/0.312, allocations: 29.58 kB / 435 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.3121, allocations: 47.84 kB / 435 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.3122, allocations: 43.78 kB / 435.1 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.077e-05/0.3123, allocations: 8 kB / 435.1 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.623e-05/0.3123, allocations: 8 kB / 435.1 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.383e-05/0.3123, allocations: 19.92 kB / 435.1 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.812e-05/0.3124, allocations: 47.73 kB / 435.1 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002676/0.3127, allocations: 108.8 kB / 435.3 MB, free: 4.035 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.3127, allocations: 0 / 435.3 MB, free: 4.035 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.3127, allocations: 0 / 435.3 MB, free: 4.035 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.3127, allocations: 0 / 435.3 MB, free: 4.035 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.0008339/0.3136, allocations: 330.2 kB / 435.6 MB, free: 3.684 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.954e-05/0.3136, allocations: 12.03 kB / 435.6 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.332e-05/0.3137, allocations: 8.891 kB / 435.6 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004017/0.3141, allocations: 138.3 kB / 435.7 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.3141, allocations: 8.562 kB / 435.7 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.914e-05/0.3142, allocations: 12.38 kB / 435.8 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004273/0.3146, allocations: 127.2 kB / 435.9 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.3146, allocations: 4 kB / 435.9 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.3146, allocations: 0 / 435.9 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.3146, allocations: 4 kB / 435.9 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003197/0.3149, allocations: 71.88 kB / 436 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009692/0.3159, allocations: 470.7 kB / 436.4 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/0.3162, allocations: 78.58 kB / 436.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.3164, allocations: 36.84 kB / 436.5 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.3164, allocations: 0 / 436.5 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/0.3164, allocations: 34.56 kB / 436.6 MB, free: 2.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.3164, allocations: 0 / 436.6 MB, free: 2.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005887/0.317, allocations: 129.7 kB / 436.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.3171, allocations: 51.41 kB / 436.7 MB, free: 2.395 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.3173, allocations: 136.8 kB / 436.9 MB, free: 2.254 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.3173, allocations: 29.7 kB / 436.9 MB, free: 2.219 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.3174, allocations: 112 kB / 437 MB, free: 2.105 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.262e-05/0.3174, allocations: 31.73 kB / 437 MB, free: 2.074 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.821e-05/0.3175, allocations: 25.72 kB / 437.1 MB, free: 2.043 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002137/0.3177, allocations: 318.8 kB / 437.4 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.3179, allocations: 35.97 kB / 437.4 MB, free: 1.688 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.3181, allocations: 75.95 kB / 437.5 MB, free: 1.602 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003435/0.3184, allocations: 100.1 kB / 437.6 MB, free: 1.488 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.3184, allocations: 0 / 437.6 MB, free: 1.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004578/0.3189, allocations: 141.5 kB / 437.7 MB, free: 1.344 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.3189, allocations: 4 kB / 437.7 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.3189, allocations: 4.312 kB / 437.7 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.674e-05/0.3189, allocations: 0 / 437.7 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/0.3192, allocations: 31.97 kB / 437.8 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.93e-05/0.3192, allocations: 7.938 kB / 437.8 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.3193, allocations: 12.08 kB / 437.8 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.3194, allocations: 11.98 kB / 437.8 MB, free: 1.273 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 0.0001478/0.3195, allocations: 121.8 kB / 437.9 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.143e-05/0.3196, allocations: 7.953 kB / 437.9 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.686e-05/0.3196, allocations: 16.38 kB / 437.9 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3196, allocations: 0 / 437.9 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.3196, allocations: 0 / 437.9 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.3196, allocations: 0 / 437.9 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/0.32, allocations: 176.7 kB / 438.1 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.32, allocations: 4 kB / 438.1 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.3202, allocations: 23.98 kB / 438.1 MB, free: 0.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3202, allocations: 0 / 438.1 MB, free: 0.875 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.3202, allocations: 7.938 kB / 438.1 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3202, allocations: 3.938 kB / 438.1 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3202, allocations: 0 / 438.1 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005925/0.3208, allocations: 239.3 kB / 438.4 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.905e-05/0.3208, allocations: 11.98 kB / 438.4 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.3208, allocations: 0 / 438.4 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.321, allocations: 8 kB / 438.4 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.916e-05/0.321, allocations: 7.984 kB / 438.4 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.321, allocations: 0 / 438.4 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.477e-05/0.3211, allocations: 95.36 kB / 438.5 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3211, allocations: 3.938 kB / 438.5 MB, free: 500 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004609/0.3216, allocations: 24 kB / 438.5 MB, free: 476 kB / 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 0.0001515/0.3217, allocations: 99.19 kB / 438.6 MB, free: 368 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004033/0.3221, allocations: 83.86 kB / 438.7 MB, free: 284 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3222, allocations: 0 / 438.7 MB, free: 284 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.3223, allocations: 31.97 kB / 438.7 MB, free: 252 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005269/0.3228, allocations: 31.16 kB / 438.8 MB, free: 224 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.3239, allocations: 386.5 kB / 439.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004172/0.3243, allocations: 0.7002 MB / 439.8 MB, free: 15.08 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.99e-05/0.3243, allocations: 15.44 kB / 439.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3243, allocations: 0 / 439.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of Templates: time 0.003996/0.3283, allocations: 1.289 MB / 441.1 MB, free: 13.78 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 -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: 7.442119781859219]