Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009655/0.0009655, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 170.7 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9274/0.9274, allocations: 177.1 MB / 205.3 MB, free: 5.113 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 273.5 MB, free: 1.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.248e-05/1.367e-05, allocations: 2.312 kB / 273.5 MB, free: 1.16 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.002063/0.002077, allocations: 1.971 MB / 275.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006017/0.002678, allocations: 486.6 kB / 275.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.442e-05/0.002753, allocations: 4 kB / 275.9 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.602e-05/0.002839, allocations: 11.81 kB / 275.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.279e-05/0.002892, allocations: 35.7 kB / 276 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001101/0.003002, allocations: 23.97 kB / 276 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002348/0.003237, allocations: 115.6 kB / 276.1 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.037e-05/0.003327, allocations: 26.17 kB / 276.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.131e-05/0.003408, allocations: 67.8 kB / 276.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.757e-05/0.003466, allocations: 31.91 kB / 276.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.003484, allocations: 8 kB / 276.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.154e-05/0.003495, allocations: 8 kB / 276.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.631e-05/0.003522, allocations: 23.91 kB / 276.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.932e-05/0.003551, allocations: 20 kB / 276.3 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.003705, allocations: 79.59 kB / 276.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.003707, allocations: 0 / 276.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.003708, allocations: 4 kB / 276.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.036e-06/0.003711, allocations: 4 kB / 276.4 MB, free: 14.24 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.0002862/0.003998, allocations: 300.8 kB / 276.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.724e-05/0.004025, allocations: 8.031 kB / 276.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.721e-05/0.004052, allocations: 12.94 kB / 276.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.004166, allocations: 133.6 kB / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.604e-06/0.004174, allocations: 4.562 kB / 276.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.004194, allocations: 12.38 kB / 276.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.004309, allocations: 112.7 kB / 276.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.004318, allocations: 4 kB / 276.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.575e-06/0.004325, allocations: 4 kB / 276.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.00433, allocations: 4 kB / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.507e-05/0.004365, allocations: 23.92 kB / 277 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003376/0.004702, allocations: 377 kB / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.919e-05/0.004772, allocations: 46.55 kB / 277.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.952e-05/0.004791, allocations: 16.86 kB / 277.4 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.302e-06/0.004797, allocations: 0 / 277.4 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/0.004813, allocations: 38.5 kB / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 8.22e-07/0.004814, allocations: 0 / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001012/0.004916, allocations: 69.75 kB / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.181e-05/0.004937, allocations: 51.41 kB / 277.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.669e-05/0.005004, allocations: 137.9 kB / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.005015, allocations: 25.7 kB / 277.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.882e-05/0.005064, allocations: 112.1 kB / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.005082, allocations: 27.8 kB / 277.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.005117, allocations: 33.69 kB / 277.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.169e-05/0.005189, allocations: 314.8 kB / 278.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.704e-05/0.005206, allocations: 11.98 kB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.215e-05/0.005238, allocations: 44.23 kB / 278.3 MB, free: 12.17 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.77e-05/0.005296, allocations: 60.19 kB / 278.3 MB, free: 12.1 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.005298, allocations: 4 kB / 278.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.076e-05/0.005378, allocations: 77.55 kB / 278.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.00539, allocations: 7.938 kB / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.005396, allocations: 8.125 kB / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.005406, allocations: 0 / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.005547, allocations: 35.97 kB / 278.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.005551, allocations: 3.938 kB / 278.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.602e-05/0.005587, allocations: 15.89 kB / 278.5 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.005593, allocations: 4 kB / 278.5 MB, free: 11.94 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.73e-05/0.00565, allocations: 117.8 kB / 278.6 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.033e-05/0.00567, allocations: 7.938 kB / 278.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.339e-05/0.005694, allocations: 8.438 kB / 278.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.005697, allocations: 8 kB / 278.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.005699, allocations: 4 kB / 278.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.005703, allocations: 3.984 kB / 278.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.97e-05/0.005793, allocations: 85.86 kB / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.005794, allocations: 0 / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.774e-05/0.005871, allocations: 23.98 kB / 278.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.005873, allocations: 0 / 278.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.005885, allocations: 7.875 kB / 278.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.005885, allocations: 4 kB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.005886, allocations: 0 / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.006018, allocations: 171.5 kB / 278.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.387e-05/0.006032, allocations: 15.88 kB / 278.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.006046, allocations: 3.938 kB / 278.9 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.187e-05/0.006088, allocations: 4 kB / 278.9 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.844e-05/0.006116, allocations: 7.984 kB / 278.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.006119, allocations: 7.938 kB / 278.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.905e-05/0.006138, allocations: 16.84 kB / 279 MB, free: 11.4 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006138, allocations: 0 / 279 MB, free: 11.4 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001448/0.006282, allocations: 24 kB / 279 MB, free: 11.38 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.755e-05/0.00635, allocations: 80.36 kB / 279.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.69e-05/0.006427, allocations: 44.77 kB / 279.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.006431, allocations: 4 kB / 279.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.674e-05/0.006458, allocations: 24.84 kB / 279.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001655/0.006624, allocations: 19.98 kB / 279.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005055/0.007129, allocations: 288.5 kB / 279.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.443e-05/0.007164, allocations: 67.34 kB / 279.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.116e-05/0.007195, allocations: 12.52 kB / 279.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.092e-05/0.007256, allocations: 63.38 kB / 279.6 MB, free: 10.72 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.007256, allocations: 0 / 279.6 MB, free: 10.72 MB / 266.7 MB Notification: Performance of Templates: time 0.002706/0.009962, allocations: 1.195 MB / 280.8 MB, free: 9.562 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.4201359609141946]