Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 75.91 kB / 21.18 MB, free: 3.395 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 145.5 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9903/0.9903, allocations: 173.4 MB / 201.1 MB, free: 9.348 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 268 MB, free: 6.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.521e-05/3.7e-05, allocations: 6.25 kB / 268 MB, free: 6.469 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.005906/0.005943, allocations: 1.92 MB / 269.9 MB, free: 4.535 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000713/0.006656, allocations: 442.8 kB / 270.3 MB, free: 4.098 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.976e-05/0.006735, allocations: 4 kB / 270.3 MB, free: 4.094 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.006851, allocations: 15.86 kB / 270.3 MB, free: 4.078 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.467e-05/0.006916, allocations: 27.73 kB / 270.4 MB, free: 4.051 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003217/0.01013, allocations: 31.94 kB / 270.4 MB, free: 4.02 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.01032, allocations: 107.5 kB / 270.5 MB, free: 3.914 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.01047, allocations: 29.56 kB / 270.5 MB, free: 3.879 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.01058, allocations: 63.88 kB / 270.6 MB, free: 3.816 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.663e-05/0.01065, allocations: 27.91 kB / 270.6 MB, free: 3.789 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.01068, allocations: 8 kB / 270.6 MB, free: 3.781 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.731e-05/0.01069, allocations: 8 kB / 270.6 MB, free: 3.773 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.027e-05/0.01073, allocations: 23.91 kB / 270.7 MB, free: 3.75 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.048e-05/0.01077, allocations: 31.92 kB / 270.7 MB, free: 3.719 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.01095, allocations: 75.67 kB / 270.8 MB, free: 3.645 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.01096, allocations: 0 / 270.8 MB, free: 3.645 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.01096, allocations: 0 / 270.8 MB, free: 3.645 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.01096, allocations: 0 / 270.8 MB, free: 3.645 MB / 250.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.0004995/0.01146, allocations: 428.4 kB / 271.2 MB, free: 3.191 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.0115, allocations: 12.92 kB / 271.2 MB, free: 3.18 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.182e-05/0.01156, allocations: 16.89 kB / 271.2 MB, free: 3.164 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.01174, allocations: 140.4 kB / 271.3 MB, free: 3 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.01175, allocations: 12.55 kB / 271.4 MB, free: 2.988 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.355e-05/0.01178, allocations: 8.375 kB / 271.4 MB, free: 2.98 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002146/0.012, allocations: 117.4 kB / 271.5 MB, free: 2.852 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.01201, allocations: 7.953 kB / 271.5 MB, free: 2.844 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.01202, allocations: 0 / 271.5 MB, free: 2.844 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-06/0.01203, allocations: 7.984 kB / 271.5 MB, free: 2.836 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.24e-05/0.01211, allocations: 31.92 kB / 271.5 MB, free: 2.805 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005729/0.01268, allocations: 0.5132 MB / 272 MB, free: 2.246 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.01281, allocations: 71.03 kB / 272.1 MB, free: 2.164 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003056/0.01587, allocations: 15.69 kB / 272.1 MB, free: 2.145 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.01587, allocations: 0 / 272.1 MB, free: 2.145 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.0159, allocations: 49.33 kB / 272.2 MB, free: 2.086 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.0159, allocations: 3.938 kB / 272.2 MB, free: 2.082 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001742/0.01608, allocations: 69.8 kB / 272.2 MB, free: 2.008 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/0.0161, allocations: 55.56 kB / 272.3 MB, free: 1.941 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.848e-05/0.01619, allocations: 193.5 kB / 272.5 MB, free: 1.738 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.0162, allocations: 25.7 kB / 272.5 MB, free: 1.707 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.079e-05/0.01626, allocations: 158.7 kB / 272.7 MB, free: 1.547 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.01628, allocations: 31.75 kB / 272.7 MB, free: 1.516 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.01631, allocations: 35.36 kB / 272.7 MB, free: 1.473 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.01642, allocations: 0.4884 MB / 273.2 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.595e-05/0.01644, allocations: 11.98 kB / 273.2 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.441e-05/0.01649, allocations: 62.36 kB / 273.3 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.307e-05/0.01656, allocations: 74.38 kB / 273.4 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01656, allocations: 4 kB / 273.4 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001143/0.01668, allocations: 113.3 kB / 273.5 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.01669, allocations: 8 kB / 273.5 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.892e-06/0.0167, allocations: 3.984 kB / 273.5 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.01671, allocations: 0 / 273.5 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.01684, allocations: 31.92 kB / 273.5 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.01685, allocations: 4 kB / 273.5 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.434e-05/0.01688, allocations: 11.92 kB / 273.5 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-06/0.01689, allocations: 8 kB / 273.6 MB, free: 0.5977 MB / 250.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.404e-05/0.01695, allocations: 156.7 kB / 273.7 MB, free: 444 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.01697, allocations: 19.89 kB / 273.7 MB, free: 424 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/0.017, allocations: 8.438 kB / 273.7 MB, free: 416 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.017, allocations: 0 / 273.7 MB, free: 416 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.01701, allocations: 8 kB / 273.7 MB, free: 408 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.01701, allocations: 0 / 273.7 MB, free: 408 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.01713, allocations: 140.6 kB / 273.9 MB, free: 232 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.01713, allocations: 0 / 273.9 MB, free: 232 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.13e-05/0.0172, allocations: 19.92 kB / 273.9 MB, free: 212 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.0172, allocations: 4 kB / 273.9 MB, free: 208 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.01722, allocations: 7.875 kB / 273.9 MB, free: 200 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.01722, allocations: 4 kB / 273.9 MB, free: 196 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.01722, allocations: 0 / 273.9 MB, free: 196 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.01741, allocations: 235.8 kB / 274.1 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.192e-05/0.01742, allocations: 7.953 kB / 274.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.01744, allocations: 3.938 kB / 274.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.312e-05/0.01748, allocations: 7.984 kB / 274.2 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.01752, allocations: 4 kB / 274.2 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.01752, allocations: 4 kB / 274.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.504e-05/0.01757, allocations: 143 kB / 274.3 MB, free: 15.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01757, allocations: 0 / 274.3 MB, free: 15.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001635/0.01773, allocations: 24 kB / 274.3 MB, free: 15.75 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 8.349e-05/0.01781, allocations: 99.23 kB / 274.4 MB, free: 15.64 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001149/0.01793, allocations: 47.61 kB / 274.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.01793, allocations: 0 / 274.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.794e-05/0.01796, allocations: 23.67 kB / 274.5 MB, free: 15.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.01821, allocations: 24.53 kB / 274.5 MB, free: 15.54 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00082/0.01903, allocations: 321.6 kB / 274.8 MB, free: 15.2 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.144e-05/0.01908, allocations: 71.27 kB / 274.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.017e-05/0.01911, allocations: 4.5 kB / 274.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.01914, allocations: 12.5 kB / 274.9 MB, free: 15.1 MB / 266.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01914, allocations: 4 kB / 274.9 MB, free: 15.09 MB / 266.7 MB Notification: Performance of Templates: time 0.003061/0.0222, allocations: 1.037 MB / 276 MB, free: 14.07 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.9512932067736983]