Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009695/0.0009695, allocations: 87.67 kB / 21.2 MB, free: 3.367 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001051/0.001051, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9796/0.9796, allocations: 177 MB / 204.8 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 3.938 kB / 272.9 MB, free: 1.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/2.796e-05, allocations: 5.266 kB / 272.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.002439/0.002467, allocations: 1.918 MB / 274.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000669/0.003136, allocations: 490.7 kB / 275.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.823e-05/0.003225, allocations: 0 / 275.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.003326, allocations: 19.8 kB / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.443e-05/0.00338, allocations: 19.78 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001524/0.003533, allocations: 27.97 kB / 275.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.003658, allocations: 111.5 kB / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.003782, allocations: 29.52 kB / 275.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.76e-05/0.00387, allocations: 59.88 kB / 275.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.499e-05/0.003935, allocations: 27.91 kB / 275.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.003956, allocations: 12 kB / 275.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.377e-05/0.00397, allocations: 8 kB / 275.6 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.295e-05/0.003993, allocations: 23.91 kB / 275.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.684e-05/0.00403, allocations: 39.84 kB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.004173, allocations: 67.8 kB / 275.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.004176, allocations: 0 / 275.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.004177, allocations: 0 / 275.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.004182, allocations: 0 / 275.7 MB, free: 14.61 MB / 266.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.0004379/0.004619, allocations: 428.4 kB / 276.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.004662, allocations: 11.98 kB / 276.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.619e-05/0.004708, allocations: 16.89 kB / 276.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.004888, allocations: 144.4 kB / 276.3 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.0049, allocations: 4.562 kB / 276.3 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.806e-05/0.004938, allocations: 16.33 kB / 276.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.005126, allocations: 118.4 kB / 276.4 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.005137, allocations: 4 kB / 276.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.005149, allocations: 3.984 kB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.005156, allocations: 0 / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.13e-05/0.005217, allocations: 33.3 kB / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005213/0.005738, allocations: 0.5287 MB / 277 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.005852, allocations: 67.03 kB / 277.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.507e-05/0.005887, allocations: 19.69 kB / 277.1 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.709e-06/0.005897, allocations: 4 kB / 277.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.005919, allocations: 37.33 kB / 277.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.00592, allocations: 0 / 277.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001788/0.006099, allocations: 81.94 kB / 277.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.006126, allocations: 51.41 kB / 277.3 MB, free: 12.9 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.006242, allocations: 185.9 kB / 277.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.006251, allocations: 25.7 kB / 277.5 MB, free: 12.67 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.751e-05/0.006319, allocations: 166.6 kB / 277.6 MB, free: 12.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.006337, allocations: 23.81 kB / 277.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.006373, allocations: 39.3 kB / 277.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.006474, allocations: 496.1 kB / 278.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.883e-05/0.006503, allocations: 11.98 kB / 278.2 MB, free: 11.92 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.139e-05/0.006544, allocations: 58.42 kB / 278.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.76e-05/0.006622, allocations: 86.36 kB / 278.3 MB, free: 11.74 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.006624, allocations: 0 / 278.3 MB, free: 11.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001174/0.006741, allocations: 105.4 kB / 278.4 MB, free: 11.63 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.006757, allocations: 4 kB / 278.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.006762, allocations: 0 / 278.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.00678, allocations: 4 kB / 278.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.006897, allocations: 27.92 kB / 278.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.006903, allocations: 4 kB / 278.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.306e-05/0.006936, allocations: 20.05 kB / 278.5 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.006943, allocations: 4 kB / 278.5 MB, free: 11.57 MB / 266.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 7.213e-05/0.007016, allocations: 164.5 kB / 278.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.981e-05/0.007035, allocations: 11.89 kB / 278.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.151e-05/0.007067, allocations: 12.44 kB / 278.7 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.007069, allocations: 0 / 278.7 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.007073, allocations: 0 / 278.7 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.007076, allocations: 0 / 278.7 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.007193, allocations: 148.5 kB / 278.8 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.007195, allocations: 0 / 278.8 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.254e-05/0.007277, allocations: 31.92 kB / 278.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.00728, allocations: 0 / 278.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.007298, allocations: 3.938 kB / 278.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.007299, allocations: 0 / 278.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.0073, allocations: 0 / 278.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.00749, allocations: 231.8 kB / 279.1 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.122e-05/0.007501, allocations: 11.89 kB / 279.1 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.007515, allocations: 3.938 kB / 279.1 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.029e-05/0.007555, allocations: 11.98 kB / 279.1 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.007594, allocations: 4 kB / 279.1 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.007598, allocations: 4 kB / 279.1 MB, free: 10.88 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.881e-05/0.007646, allocations: 146.1 kB / 279.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007647, allocations: 0 / 279.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001548/0.007801, allocations: 20 kB / 279.3 MB, free: 10.71 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.427e-05/0.007886, allocations: 91.25 kB / 279.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000115/0.008001, allocations: 47.61 kB / 279.4 MB, free: 10.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.008003, allocations: 0 / 279.4 MB, free: 10.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.093e-05/0.008033, allocations: 36 kB / 279.5 MB, free: 10.53 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.008291, allocations: 28.36 kB / 279.5 MB, free: 10.5 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000707/0.008998, allocations: 321.9 kB / 279.8 MB, free: 10.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.133e-05/0.009039, allocations: 71.27 kB / 279.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.005e-05/0.009069, allocations: 8.5 kB / 279.9 MB, free: 10.06 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.411e-05/0.009103, allocations: 12.5 kB / 279.9 MB, free: 10.04 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.009104, allocations: 4 kB / 279.9 MB, free: 10.04 MB / 266.7 MB Notification: Performance of Templates: time 0.002882/0.01199, allocations: 1.037 MB / 280.9 MB, free: 9.023 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & ./Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.001254747156054]