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.0008471/0.0008471, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003941/0.003941, allocations: 157.8 kB / 24.7 MB, free: 8.891 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 0.8393/0.8393, allocations: 177 MB / 204.9 MB, free: 5.746 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.252e-06/1.252e-06, allocations: 0 / 325.7 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.252e-05/2.378e-05, allocations: 7.062 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.00211/0.002134, allocations: 1.868 MB / 327.6 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000588/0.002722, allocations: 466.8 kB / 328.1 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.572e-05/0.002807, allocations: 0 / 328.1 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.002913, allocations: 15.86 kB / 328.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.156e-05/0.002965, allocations: 23.73 kB / 328.1 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001292/0.003094, allocations: 27.95 kB / 328.1 MB, free: 13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.003221, allocations: 115.5 kB / 328.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.003341, allocations: 25.52 kB / 328.3 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.603e-05/0.003437, allocations: 63.88 kB / 328.3 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.58e-05/0.003503, allocations: 31.89 kB / 328.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.06e-05/0.003533, allocations: 8 kB / 328.4 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.527e-05/0.003548, allocations: 8 kB / 328.4 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.604e-05/0.003574, allocations: 23.92 kB / 328.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.268e-05/0.003607, allocations: 31.91 kB / 328.4 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.003743, allocations: 95.73 kB / 328.5 MB, free: 12.6 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.003746, allocations: 7.938 kB / 328.5 MB, free: 12.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.003747, allocations: 0 / 328.5 MB, free: 12.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.003751, allocations: 0 / 328.5 MB, free: 12.59 MB / 298.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.0004253/0.004176, allocations: 326.1 kB / 328.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.004212, allocations: 11.98 kB / 328.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.954e-05/0.004241, allocations: 12.89 kB / 328.9 MB, free: 12.22 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.004398, allocations: 137.7 kB / 329 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.004409, allocations: 12.5 kB / 329 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.004434, allocations: 8.375 kB / 329 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.004624, allocations: 124 kB / 329.2 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.004635, allocations: 0 / 329.2 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.004647, allocations: 4 kB / 329.2 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.004652, allocations: 4 kB / 329.2 MB, free: 11.9 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.004793, allocations: 71.88 kB / 329.2 MB, free: 11.83 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004362/0.005229, allocations: 431.5 kB / 329.7 MB, free: 11.37 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.005394, allocations: 78.59 kB / 329.7 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.392e-05/0.005478, allocations: 40.83 kB / 329.8 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.00549, allocations: 0 / 329.8 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.005514, allocations: 38.5 kB / 329.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 8.11e-07/0.005515, allocations: 0 / 329.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002548/0.00577, allocations: 129.8 kB / 329.9 MB, free: 11.06 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.005798, allocations: 51.41 kB / 330 MB, free: 11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.176e-05/0.005869, allocations: 133.8 kB / 330.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.00588, allocations: 29.64 kB / 330.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.006066, allocations: 112 kB / 330.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.006084, allocations: 27.73 kB / 330.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.006116, allocations: 25.72 kB / 330.3 MB, free: 10.65 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.116e-05/0.006187, allocations: 322.8 kB / 330.6 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.472e-05/0.006242, allocations: 35.98 kB / 330.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.445e-05/0.006306, allocations: 60.27 kB / 330.7 MB, free: 10.22 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.006426, allocations: 108.1 kB / 330.8 MB, free: 10.1 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.006429, allocations: 4 kB / 330.8 MB, free: 10.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001638/0.006593, allocations: 141.4 kB / 331 MB, free: 9.949 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.006606, allocations: 8 kB / 331 MB, free: 9.941 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.006611, allocations: 0 / 331 MB, free: 9.941 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.006623, allocations: 0 / 331 MB, free: 9.941 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.469e-05/0.006718, allocations: 27.98 kB / 331 MB, free: 9.914 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.006723, allocations: 7.984 kB / 331 MB, free: 9.906 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.684e-05/0.00676, allocations: 11.94 kB / 331 MB, free: 9.895 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.249e-06/0.006765, allocations: 8.125 kB / 331 MB, free: 9.887 MB / 298.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 5.907e-05/0.006824, allocations: 125.8 kB / 331.2 MB, free: 9.754 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.643e-05/0.006841, allocations: 11.89 kB / 331.2 MB, free: 9.742 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.41e-05/0.006865, allocations: 12.42 kB / 331.2 MB, free: 9.734 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.006866, allocations: 0 / 331.2 MB, free: 9.734 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.006869, allocations: 0 / 331.2 MB, free: 9.734 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.006872, allocations: 4 kB / 331.2 MB, free: 9.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.006981, allocations: 137.2 kB / 331.3 MB, free: 9.566 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.006982, allocations: 3.938 kB / 331.3 MB, free: 9.562 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.893e-05/0.007051, allocations: 19.98 kB / 331.3 MB, free: 9.543 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.007052, allocations: 4.094 kB / 331.3 MB, free: 9.539 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.007061, allocations: 7.875 kB / 331.4 MB, free: 9.531 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.007062, allocations: 4.312 kB / 331.4 MB, free: 9.527 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.007063, allocations: 0 / 331.4 MB, free: 9.527 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/0.007287, allocations: 231.4 kB / 331.6 MB, free: 9.285 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.177e-05/0.007299, allocations: 15.92 kB / 331.6 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.007312, allocations: 7.938 kB / 331.6 MB, free: 9.262 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.168e-05/0.007353, allocations: 8 kB / 331.6 MB, free: 9.254 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.007383, allocations: 3.984 kB / 331.6 MB, free: 9.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.007386, allocations: 4 kB / 331.6 MB, free: 9.246 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.1e-05/0.007427, allocations: 99.27 kB / 331.7 MB, free: 9.148 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007427, allocations: 0 / 331.7 MB, free: 9.148 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001476/0.007574, allocations: 16 kB / 331.7 MB, free: 9.133 MB / 298.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 6.947e-05/0.007644, allocations: 99.25 kB / 331.8 MB, free: 9.023 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001476/0.007791, allocations: 84 kB / 331.9 MB, free: 8.941 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.007792, allocations: 0 / 331.9 MB, free: 8.941 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.406e-05/0.007847, allocations: 39.95 kB / 332 MB, free: 8.902 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.008073, allocations: 16 kB / 332 MB, free: 8.887 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005145/0.008588, allocations: 327.1 kB / 332.3 MB, free: 8.531 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.789e-05/0.008646, allocations: 92.27 kB / 332.4 MB, free: 8.418 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.754e-05/0.008673, allocations: 12.5 kB / 332.4 MB, free: 8.406 MB / 298.7 MB Notification: Performance of SimCode: time 7.21e-07/0.008674, allocations: 0 / 332.4 MB, free: 8.406 MB / 298.7 MB Notification: Performance of Templates: time 0.002084/0.01076, allocations: 1.339 MB / 333.7 MB, free: 7.078 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 3.9836384104564786]