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.00199/0.00199, allocations: 95.86 kB / 20.96 MB, free: 3.465 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.001931/0.001931, allocations: 153.1 kB / 24.26 MB, free: 172 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 1.512/1.512, allocations: 173.4 MB / 200.8 MB, free: 9.312 MB / 186.7 MB " [Timeout remaining time 178] 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.743e-06/1.743e-06, allocations: 0 / 267.3 MB, free: 6.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.983e-05/3.157e-05, allocations: 2.312 kB / 267.3 MB, free: 6.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003337/0.003369, allocations: 1.883 MB / 269.2 MB, free: 4.859 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009019/0.004271, allocations: 450.9 kB / 269.6 MB, free: 4.414 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.021e-05/0.004351, allocations: 0 / 269.6 MB, free: 4.414 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.00446, allocations: 11.88 kB / 269.6 MB, free: 4.402 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.508e-05/0.004535, allocations: 27.72 kB / 269.7 MB, free: 4.375 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001497/0.004685, allocations: 31.97 kB / 269.7 MB, free: 4.344 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.004868, allocations: 107.5 kB / 269.8 MB, free: 4.238 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.005012, allocations: 29.58 kB / 269.8 MB, free: 4.203 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.00513, allocations: 55.88 kB / 269.9 MB, free: 4.148 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.268e-05/0.005212, allocations: 27.91 kB / 269.9 MB, free: 4.121 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.005239, allocations: 12 kB / 269.9 MB, free: 4.109 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.277e-05/0.005262, allocations: 8 kB / 269.9 MB, free: 4.102 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.398e-05/0.005306, allocations: 23.91 kB / 269.9 MB, free: 4.078 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.142e-05/0.005357, allocations: 31.92 kB / 270 MB, free: 4.047 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.005566, allocations: 107.6 kB / 270.1 MB, free: 3.941 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.005569, allocations: 4 kB / 270.1 MB, free: 3.938 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.00557, allocations: 4 kB / 270.1 MB, free: 3.934 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.005575, allocations: 0 / 270.1 MB, free: 3.934 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.000639/0.006214, allocations: 428.1 kB / 270.5 MB, free: 3.48 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.006254, allocations: 8.922 kB / 270.5 MB, free: 3.473 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.846e-05/0.006322, allocations: 24.84 kB / 270.5 MB, free: 3.449 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.006542, allocations: 140.4 kB / 270.7 MB, free: 3.285 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.006558, allocations: 8.562 kB / 270.7 MB, free: 3.277 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.006592, allocations: 12.38 kB / 270.7 MB, free: 3.266 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/0.006873, allocations: 128.5 kB / 270.8 MB, free: 3.129 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.00689, allocations: 3.984 kB / 270.8 MB, free: 3.125 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.006901, allocations: 0 / 270.8 MB, free: 3.125 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.006909, allocations: 7.938 kB / 270.8 MB, free: 3.117 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.007092, allocations: 59.86 kB / 270.9 MB, free: 3.059 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007863/0.007878, allocations: 0.5367 MB / 271.4 MB, free: 2.477 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.008067, allocations: 75.09 kB / 271.5 MB, free: 2.391 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.581e-05/0.008163, allocations: 43.61 kB / 271.5 MB, free: 2.344 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.008178, allocations: 0 / 271.5 MB, free: 2.344 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.008213, allocations: 41.33 kB / 271.6 MB, free: 2.293 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 7.91e-07/0.008214, allocations: 0 / 271.6 MB, free: 2.293 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003352/0.008549, allocations: 109.9 kB / 271.7 MB, free: 2.18 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.008593, allocations: 51.41 kB / 271.7 MB, free: 2.117 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.008774, allocations: 201.1 kB / 271.9 MB, free: 1.906 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.008793, allocations: 25.7 kB / 272 MB, free: 1.875 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.008993, allocations: 158.7 kB / 272.1 MB, free: 1.715 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.009027, allocations: 35.75 kB / 272.1 MB, free: 1.68 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.295e-05/0.00909, allocations: 43.36 kB / 272.2 MB, free: 1.629 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002476/0.009338, allocations: 0.4884 MB / 272.7 MB, free: 1.129 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.944e-05/0.009427, allocations: 31.92 kB / 272.7 MB, free: 1.098 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.009547, allocations: 74.41 kB / 272.8 MB, free: 1.004 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002173/0.009764, allocations: 106.4 kB / 272.9 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.009767, allocations: 4 kB / 272.9 MB, free: 0.875 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002715/0.01004, allocations: 137.4 kB / 273 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.01006, allocations: 8 kB / 273 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.01006, allocations: 0 / 273 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.01008, allocations: 0 / 273 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.01023, allocations: 31.92 kB / 273.1 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.01023, allocations: 4 kB / 273.1 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.805e-05/0.0103, allocations: 15.89 kB / 273.1 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.01031, allocations: 8.125 kB / 273.1 MB, free: 0.668 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 0.0001295/0.01044, allocations: 164.6 kB / 273.3 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.01048, allocations: 15.89 kB / 273.3 MB, free: 492 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.518e-05/0.01051, allocations: 16.38 kB / 273.3 MB, free: 476 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.01052, allocations: 3.984 kB / 273.3 MB, free: 472 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.01052, allocations: 0 / 273.3 MB, free: 472 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.01052, allocations: 0 / 273.3 MB, free: 472 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.01074, allocations: 152.5 kB / 273.4 MB, free: 284 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.01074, allocations: 4 kB / 273.4 MB, free: 280 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.01086, allocations: 15.98 kB / 273.5 MB, free: 264 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.01087, allocations: 8 kB / 273.5 MB, free: 256 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.01088, allocations: 3.938 kB / 273.5 MB, free: 252 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.01088, allocations: 0 / 273.5 MB, free: 252 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.01088, allocations: 0 / 273.5 MB, free: 252 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004148/0.0113, allocations: 279.7 kB / 273.7 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.812e-05/0.01132, allocations: 7.953 kB / 273.7 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.01134, allocations: 3.938 kB / 273.8 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.365e-05/0.01142, allocations: 11.98 kB / 273.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.01146, allocations: 0 / 273.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.01147, allocations: 11.98 kB / 273.8 MB, free: 15.92 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001121/0.01158, allocations: 143.2 kB / 273.9 MB, free: 15.78 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01158, allocations: 0 / 273.9 MB, free: 15.78 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002384/0.01182, allocations: 19.94 kB / 273.9 MB, free: 15.76 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 0.0001167/0.01194, allocations: 99.25 kB / 274 MB, free: 15.65 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002407/0.01218, allocations: 75.59 kB / 274.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.01218, allocations: 0 / 274.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.424e-05/0.01227, allocations: 43.86 kB / 274.2 MB, free: 15.53 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.0126, allocations: 19.98 kB / 274.2 MB, free: 15.51 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006768/0.01328, allocations: 318.5 kB / 274.5 MB, free: 15.17 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.941e-05/0.01337, allocations: 84.28 kB / 274.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.411e-05/0.01341, allocations: 12.48 kB / 274.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.796e-05/0.01345, allocations: 12.5 kB / 274.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01345, allocations: 0 / 274.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of Templates: time 0.004319/0.01777, allocations: 1.043 MB / 275.6 MB, free: 14.01 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.384550513001159]