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.001128/0.001128, allocations: 85.81 kB / 21.43 MB, free: 3.066 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.001684/0.001684, allocations: 161.9 kB / 24.82 MB, free: 8.363 MB / 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 1.05/1.05, allocations: 177 MB / 205.1 MB, free: 4.453 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.813e-06/1.813e-06, allocations: 0 / 273.3 MB, free: 4.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.685e-05/2.866e-05, allocations: 2.312 kB / 273.3 MB, free: 4.309 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003294/0.003323, allocations: 1.919 MB / 275.2 MB, free: 2.391 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000847/0.00417, allocations: 480.7 kB / 275.7 MB, free: 1.918 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.004277, allocations: 7.938 kB / 275.7 MB, free: 1.91 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.004395, allocations: 12.48 kB / 275.7 MB, free: 1.898 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.468e-05/0.00448, allocations: 26.25 kB / 275.7 MB, free: 1.875 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001644/0.004644, allocations: 27.95 kB / 275.8 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.004815, allocations: 115.5 kB / 275.9 MB, free: 1.734 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.004948, allocations: 29.5 kB / 275.9 MB, free: 1.699 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.005064, allocations: 59.89 kB / 276 MB, free: 1.641 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.838e-05/0.005142, allocations: 31.89 kB / 276 MB, free: 1.609 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.005166, allocations: 9.938 kB / 276 MB, free: 1.602 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.738e-05/0.005184, allocations: 8 kB / 276 MB, free: 1.594 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.977e-05/0.005213, allocations: 23.91 kB / 276 MB, free: 1.57 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.095e-05/0.005254, allocations: 27.92 kB / 276.1 MB, free: 1.543 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.005408, allocations: 67.8 kB / 276.1 MB, free: 1.477 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.005411, allocations: 0.5 kB / 276.1 MB, free: 1.477 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005412, allocations: 0.6562 kB / 276.1 MB, free: 1.477 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.005417, allocations: 0 / 276.1 MB, free: 1.477 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.0004335/0.00585, allocations: 436.3 kB / 276.6 MB, free: 1.016 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.005891, allocations: 12.03 kB / 276.6 MB, free: 1.004 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.398e-05/0.005935, allocations: 16.89 kB / 276.6 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.006114, allocations: 140.5 kB / 276.7 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.006127, allocations: 4.562 kB / 276.7 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.006154, allocations: 8.375 kB / 276.7 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.006358, allocations: 121.3 kB / 276.8 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.006372, allocations: 7.953 kB / 276.9 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.006385, allocations: 4 kB / 276.9 MB, free: 0.668 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.006391, allocations: 4 kB / 276.9 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.641e-05/0.006447, allocations: 23.97 kB / 276.9 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007369/0.007184, allocations: 0.521 MB / 277.4 MB, free: 76 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.007291, allocations: 62.97 kB / 277.5 MB, free: 0 / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.683e-05/0.007338, allocations: 23.67 kB / 277.5 MB, free: 15.97 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.007347, allocations: 0 / 277.5 MB, free: 15.97 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.007372, allocations: 41.33 kB / 277.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.007374, allocations: 4 kB / 277.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001666/0.00754, allocations: 73.89 kB / 277.6 MB, free: 15.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.007567, allocations: 51.41 kB / 277.7 MB, free: 15.78 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.965e-05/0.007666, allocations: 185.8 kB / 277.8 MB, free: 15.58 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.007679, allocations: 29.7 kB / 277.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.279e-05/0.007752, allocations: 162.6 kB / 278 MB, free: 15.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.007774, allocations: 23.83 kB / 278.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.00782, allocations: 31.33 kB / 278.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.007955, allocations: 0.4962 MB / 278.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.399e-05/0.007979, allocations: 8 kB / 278.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.918e-05/0.008028, allocations: 58.42 kB / 278.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.388e-05/0.008112, allocations: 74.34 kB / 278.7 MB, free: 14.63 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.008115, allocations: 7.938 kB / 278.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001516/0.008266, allocations: 93.45 kB / 278.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.008282, allocations: 4 kB / 278.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.008287, allocations: 0 / 278.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.0083, allocations: 8.125 kB / 278.8 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.008428, allocations: 35.97 kB / 278.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.008432, allocations: 0 / 278.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.957e-05/0.008481, allocations: 11.94 kB / 278.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.008489, allocations: 4 kB / 278.9 MB, free: 14.46 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 8.567e-05/0.008575, allocations: 164.5 kB / 279 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.008604, allocations: 11.89 kB / 279 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.162e-05/0.008636, allocations: 8.438 kB / 279.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.008641, allocations: 4 kB / 279.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/0.008645, allocations: 3.984 kB / 279.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.008649, allocations: 7.984 kB / 279.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.008769, allocations: 121.2 kB / 279.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.008771, allocations: 0 / 279.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.807e-05/0.008849, allocations: 23.98 kB / 279.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.008851, allocations: 0 / 279.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.008861, allocations: 0 / 279.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.008864, allocations: 11.88 kB / 279.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.008865, allocations: 0 / 279.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.009028, allocations: 223.8 kB / 279.4 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.531e-05/0.009043, allocations: 15.88 kB / 279.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.888e-06/0.009053, allocations: 4 kB / 279.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.325e-05/0.009096, allocations: 7.938 kB / 279.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.693e-05/0.009123, allocations: 3.984 kB / 279.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.00913, allocations: 8 kB / 279.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.013e-05/0.009171, allocations: 133.4 kB / 279.6 MB, free: 13.67 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009171, allocations: 0 / 279.6 MB, free: 13.67 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001554/0.009326, allocations: 16 kB / 279.6 MB, free: 13.65 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.265e-05/0.009409, allocations: 99.25 kB / 279.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.455e-05/0.009493, allocations: 55.64 kB / 279.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.009495, allocations: 0 / 279.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.59e-05/0.009521, allocations: 23.67 kB / 279.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.009755, allocations: 26.7 kB / 279.8 MB, free: 13.44 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005844/0.01034, allocations: 311.6 kB / 280.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.866e-05/0.01038, allocations: 71.2 kB / 280.2 MB, free: 13.02 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.147e-05/0.01041, allocations: 8.484 kB / 280.2 MB, free: 13.01 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.448e-05/0.01047, allocations: 78.2 kB / 280.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01047, allocations: 0 / 280.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of Templates: time 0.002807/0.01328, allocations: 1.142 MB / 281.4 MB, free: 11.82 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: 2.7183983409777284]