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.001642/0.001642, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001971/0.001971, allocations: 160.5 kB / 24.55 MB, free: 16 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.944/0.944, allocations: 177 MB / 204.8 MB, free: 5.578 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.423e-06/1.423e-06, allocations: 3.938 kB / 272.9 MB, free: 1.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.7e-05/1.843e-05, allocations: 5.406 kB / 272.9 MB, free: 1.477 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.00206/0.002079, allocations: 1.925 MB / 274.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006472/0.002726, allocations: 482.7 kB / 275.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.387e-05/0.0028, allocations: 0 / 275.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.0029, allocations: 15.81 kB / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.605e-05/0.002956, allocations: 23.78 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001419/0.003098, allocations: 35.95 kB / 275.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.003235, allocations: 103.5 kB / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.003345, allocations: 37.5 kB / 275.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.778e-05/0.003423, allocations: 51.89 kB / 275.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.643e-05/0.00349, allocations: 35.88 kB / 275.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.003513, allocations: 8 kB / 275.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.436e-05/0.003527, allocations: 8 kB / 275.6 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.003548, allocations: 15.94 kB / 275.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.251e-05/0.003581, allocations: 43.91 kB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.003704, allocations: 67.73 kB / 275.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.003706, allocations: 0 / 275.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003707, allocations: 0 / 275.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.003711, allocations: 0 / 275.7 MB, free: 14.62 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.0004025/0.004113, allocations: 428.4 kB / 276.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.00415, allocations: 15.97 kB / 276.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/0.004193, allocations: 12.89 kB / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.004342, allocations: 144.4 kB / 276.3 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.004353, allocations: 12.56 kB / 276.3 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.004384, allocations: 16.31 kB / 276.3 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.004562, allocations: 118.4 kB / 276.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.004575, allocations: 4 kB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.004587, allocations: 4 kB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.004594, allocations: 0 / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.846e-05/0.004652, allocations: 36.7 kB / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004732/0.005125, allocations: 0.521 MB / 277 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.005229, allocations: 63.11 kB / 277.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.177e-05/0.005261, allocations: 27.61 kB / 277.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.00527, allocations: 4 kB / 277.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.005289, allocations: 37.33 kB / 277.1 MB, free: 13.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.00529, allocations: 0 / 277.1 MB, free: 13.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.000155/0.005445, allocations: 73.81 kB / 277.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/0.005469, allocations: 51.41 kB / 277.3 MB, free: 12.9 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.42e-05/0.005553, allocations: 181.9 kB / 277.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.005562, allocations: 25.7 kB / 277.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.878e-05/0.005621, allocations: 166.6 kB / 277.6 MB, free: 12.51 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.853e-05/0.005639, allocations: 31.8 kB / 277.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.005671, allocations: 31.38 kB / 277.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.005779, allocations: 0.4922 MB / 278.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.382e-05/0.005802, allocations: 11.98 kB / 278.2 MB, free: 11.92 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.498e-05/0.005847, allocations: 62.42 kB / 278.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.323e-05/0.005921, allocations: 78.31 kB / 278.3 MB, free: 11.74 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.005923, allocations: 0 / 278.3 MB, free: 11.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001046/0.006027, allocations: 109.4 kB / 278.4 MB, free: 11.63 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.006039, allocations: 6.812 kB / 278.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.006043, allocations: 0 / 278.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.006056, allocations: 4 kB / 278.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.709e-05/0.006153, allocations: 31.92 kB / 278.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.006157, allocations: 0 / 278.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.22e-05/0.006189, allocations: 11.94 kB / 278.5 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.006197, 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.191e-05/0.006269, allocations: 164.7 kB / 278.7 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.9e-05/0.006288, allocations: 15.83 kB / 278.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.887e-05/0.006317, allocations: 16.42 kB / 278.7 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.006318, allocations: 0 / 278.7 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.006322, allocations: 0 / 278.7 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.006325, allocations: 0 / 278.7 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.006439, allocations: 148.7 kB / 278.8 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.006439, allocations: 3.938 kB / 278.8 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.984e-05/0.006509, allocations: 23.98 kB / 278.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.006511, allocations: 0 / 278.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.006526, allocations: 3.938 kB / 278.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.006527, allocations: 4 kB / 278.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.006528, allocations: 0 / 278.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.006695, allocations: 235.8 kB / 279.1 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.119e-05/0.006706, allocations: 7.891 kB / 279.1 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.00672, allocations: 3.938 kB / 279.1 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.686e-05/0.006757, allocations: 8 kB / 279.1 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.006792, allocations: 7.984 kB / 279.1 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.006795, allocations: 48 / 279.1 MB, free: 10.88 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.721e-05/0.006842, allocations: 142 kB / 279.3 MB, free: 10.74 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006842, allocations: 0 / 279.3 MB, free: 10.74 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001603/0.007002, allocations: 20 kB / 279.3 MB, free: 10.72 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 7.509e-05/0.007077, allocations: 99.23 kB / 279.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001074/0.007185, allocations: 55.58 kB / 279.4 MB, free: 10.56 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.007187, allocations: 4 kB / 279.4 MB, free: 10.55 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.137e-05/0.007219, allocations: 32 kB / 279.5 MB, free: 10.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003366/0.01058, allocations: 23.39 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.0008807/0.01146, allocations: 318.1 kB / 279.8 MB, free: 10.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.311e-05/0.01152, allocations: 67.28 kB / 279.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.859e-05/0.01157, allocations: 8.484 kB / 279.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.234e-05/0.01161, allocations: 16.5 kB / 279.9 MB, free: 10.05 MB / 266.7 MB Notification: Performance of SimCode: time 1.844e-06/0.01161, allocations: 0 / 279.9 MB, free: 10.05 MB / 266.7 MB Notification: Performance of Templates: time 0.003837/0.01545, allocations: 1.093 MB / 281 MB, free: 8.969 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.786608309019357]