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.001207/0.001207, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001281/0.001281, allocations: 164.4 kB / 24.91 MB, free: 8.719 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.9483/0.9483, allocations: 177 MB / 205.2 MB, free: 5.055 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.573e-06/1.573e-06, allocations: 0 / 273.4 MB, free: 1.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.677e-05/1.835e-05, allocations: 6.312 kB / 273.4 MB, free: 1.07 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.002567/0.002585, allocations: 1.958 MB / 275.4 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008077/0.003393, allocations: 498.5 kB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.765e-05/0.003481, allocations: 0 / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001153/0.003596, allocations: 11.86 kB / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.732e-05/0.003663, allocations: 27.73 kB / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000135/0.003798, allocations: 27.95 kB / 275.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.003945, allocations: 111.6 kB / 276 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.004058, allocations: 30.16 kB / 276 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.004158, allocations: 63.81 kB / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.454e-05/0.004232, allocations: 35.89 kB / 276.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.004252, allocations: 8 kB / 276.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.57e-05/0.004268, allocations: 8 kB / 276.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.518e-05/0.004293, allocations: 19.92 kB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.681e-05/0.00433, allocations: 31.91 kB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.004466, allocations: 67.69 kB / 276.3 MB, free: 14.17 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.004468, allocations: 4 kB / 276.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.004469, allocations: 0 / 276.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.004472, allocations: 4 kB / 276.3 MB, free: 14.16 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.0003836/0.004856, allocations: 304.8 kB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.004892, allocations: 11.98 kB / 276.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.632e-05/0.004928, allocations: 16.92 kB / 276.6 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.005077, allocations: 125.6 kB / 276.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.005088, allocations: 4.562 kB / 276.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.87e-05/0.005117, allocations: 20.34 kB / 276.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.00527, allocations: 108.7 kB / 276.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.005281, allocations: 4 kB / 276.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.005291, allocations: 4 kB / 276.9 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.005298, allocations: 4 kB / 276.9 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.717e-05/0.005345, allocations: 23.92 kB / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004325/0.005778, allocations: 381 kB / 277.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.265e-05/0.00586, allocations: 42.56 kB / 277.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.533e-05/0.005886, allocations: 16.86 kB / 277.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.775e-06/0.005893, allocations: 3.938 kB / 277.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.005917, allocations: 46.66 kB / 277.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.005918, allocations: 0 / 277.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001355/0.006053, allocations: 65.59 kB / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.00608, allocations: 51.41 kB / 277.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.35e-05/0.006153, allocations: 134.6 kB / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.006163, allocations: 25.7 kB / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.427e-05/0.006207, allocations: 112.1 kB / 277.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.006226, allocations: 23.81 kB / 277.8 MB, free: 12.51 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/0.006266, allocations: 33.69 kB / 277.8 MB, free: 12.47 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.309e-05/0.006339, allocations: 314.8 kB / 278.1 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.813e-05/0.006357, allocations: 15.98 kB / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.899e-05/0.006396, allocations: 44.22 kB / 278.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.666e-05/0.006463, allocations: 64.14 kB / 278.2 MB, free: 12 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.006465, allocations: 0 / 278.2 MB, free: 12 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.628e-05/0.006561, allocations: 77.55 kB / 278.3 MB, free: 11.92 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.006575, allocations: 11.92 kB / 278.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.00658, allocations: 8.125 kB / 278.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.006594, allocations: 0 / 278.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.006752, allocations: 31.98 kB / 278.4 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.006757, allocations: 3.938 kB / 278.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.463e-05/0.006802, allocations: 19.88 kB / 278.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.006808, allocations: 4 kB / 278.4 MB, free: 11.84 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 5.958e-05/0.006868, allocations: 113.8 kB / 278.5 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.00689, allocations: 7.938 kB / 278.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.517e-05/0.006915, allocations: 12.42 kB / 278.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.006918, allocations: 8 kB / 278.5 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.006919, allocations: 0 / 278.5 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.006923, allocations: 0 / 278.5 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.00703, allocations: 85.86 kB / 278.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.007032, allocations: 0 / 278.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.362e-05/0.007115, allocations: 23.98 kB / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.007117, allocations: 0 / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.007128, allocations: 7.938 kB / 278.7 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.007129, allocations: 3.938 kB / 278.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.00713, allocations: 0 / 278.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.00726, allocations: 175.4 kB / 278.8 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.236e-05/0.007272, allocations: 11.89 kB / 278.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.007285, allocations: 3.938 kB / 278.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.747e-05/0.007343, allocations: 4 kB / 278.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.007378, allocations: 16.02 kB / 278.9 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.007381, allocations: 0 / 278.9 MB, free: 11.33 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.047e-05/0.007401, allocations: 19.8 kB / 278.9 MB, free: 11.31 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007401, allocations: 0 / 278.9 MB, free: 11.31 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001935/0.007595, allocations: 24 kB / 278.9 MB, free: 11.29 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 6.939e-05/0.007664, allocations: 80.36 kB / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.548e-05/0.007749, allocations: 45.16 kB / 279 MB, free: 11.16 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.007753, allocations: 4 kB / 279 MB, free: 11.15 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.074e-05/0.007784, allocations: 28.83 kB / 279.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.007991, allocations: 27.92 kB / 279.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000574/0.008565, allocations: 300.3 kB / 279.4 MB, free: 10.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.146e-05/0.008607, allocations: 67.34 kB / 279.4 MB, free: 10.69 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.301e-05/0.00864, allocations: 8.484 kB / 279.5 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.915e-05/0.008709, allocations: 67.36 kB / 279.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.008709, allocations: 0 / 279.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of Templates: time 0.002966/0.01168, allocations: 1.17 MB / 280.7 MB, free: 9.473 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 -s gbode -gbm=radauIIA3 -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.5786848040297627]