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.00141/0.00141, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001548/0.001548, allocations: 161.7 kB / 24.26 MB, free: 176 kB / 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 1.542/1.542, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.503e-06/1.503e-06, allocations: 0 / 272.3 MB, free: 1.859 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.947e-05/3.097e-05, allocations: 2.312 kB / 272.3 MB, free: 1.855 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003447/0.003478, allocations: 1.869 MB / 274.2 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009858/0.004464, allocations: 462.8 kB / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.414e-05/0.004558, allocations: 3.938 kB / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.004687, allocations: 19.86 kB / 274.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.319e-05/0.00476, allocations: 15.8 kB / 274.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001585/0.004919, allocations: 27.97 kB / 274.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.005105, allocations: 111.5 kB / 274.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.005235, allocations: 29.52 kB / 274.8 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.005365, allocations: 59.88 kB / 274.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.987e-05/0.005445, allocations: 35.89 kB / 274.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.005473, allocations: 8 kB / 274.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.014e-05/0.005493, allocations: 8 kB / 274.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001798/0.005673, allocations: 19.92 kB / 274.9 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.546e-05/0.005728, allocations: 27.92 kB / 275 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.005947, allocations: 107.6 kB / 275.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.005951, allocations: 0 / 275.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.005952, allocations: 0 / 275.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.005957, allocations: 0 / 275.1 MB, free: 15.05 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.0006507/0.006607, allocations: 338 kB / 275.4 MB, free: 14.69 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.006651, allocations: 12.03 kB / 275.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.317e-05/0.006714, allocations: 16.89 kB / 275.4 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.006926, allocations: 129.7 kB / 275.6 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.006942, allocations: 8.562 kB / 275.6 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.795e-05/0.00698, allocations: 12.38 kB / 275.6 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/0.007295, allocations: 127.9 kB / 275.7 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.007307, allocations: 0 / 275.7 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.007321, allocations: 4 kB / 275.7 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.007326, allocations: 4 kB / 275.7 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002407/0.007567, allocations: 71.94 kB / 275.8 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007274/0.008294, allocations: 423.6 kB / 276.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.008518, allocations: 78.55 kB / 276.3 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.008642, allocations: 40.77 kB / 276.3 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.008658, allocations: 8 kB / 276.3 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.008696, allocations: 34.5 kB / 276.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.008697, allocations: 0 / 276.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004752/0.009172, allocations: 133.8 kB / 276.5 MB, free: 13.51 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.009221, allocations: 51.41 kB / 276.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.009368, allocations: 137.8 kB / 276.7 MB, free: 13.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.009393, allocations: 25.7 kB / 276.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.847e-05/0.009491, allocations: 108 kB / 276.8 MB, free: 13.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.009527, allocations: 31.75 kB / 276.8 MB, free: 13.13 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.982e-05/0.009587, allocations: 29.7 kB / 276.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.009785, allocations: 318.8 kB / 277.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.009898, allocations: 27.97 kB / 277.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.01005, allocations: 68.27 kB / 277.3 MB, free: 12.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/0.01032, allocations: 108.1 kB / 277.4 MB, free: 12.54 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.01032, allocations: 0 / 277.4 MB, free: 12.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003397/0.01066, allocations: 149.4 kB / 277.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.01068, allocations: 6.969 kB / 277.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.01069, allocations: 0 / 277.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.01071, allocations: 4 kB / 277.5 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.01089, allocations: 32.11 kB / 277.6 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.0109, allocations: 0 / 277.6 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.011, allocations: 19.92 kB / 277.6 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.01102, allocations: 8 kB / 277.6 MB, free: 12.32 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 0.0001221/0.01114, allocations: 121.8 kB / 277.7 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.01118, allocations: 11.89 kB / 277.7 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.517e-05/0.01122, allocations: 16.42 kB / 277.7 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.01123, allocations: 0 / 277.7 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.01123, allocations: 0 / 277.7 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.01124, allocations: 4 kB / 277.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.01144, allocations: 133.2 kB / 277.9 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.01144, allocations: 0 / 277.9 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.01158, allocations: 23.98 kB / 277.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.01158, allocations: 0 / 277.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.0116, allocations: 3.938 kB / 277.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.0116, allocations: 0 / 277.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.0116, allocations: 3.938 kB / 277.9 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004903/0.01209, allocations: 247.3 kB / 278.1 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.926e-05/0.01211, allocations: 7.953 kB / 278.1 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.01213, allocations: 3.938 kB / 278.2 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.168e-05/0.01222, allocations: 8.031 kB / 278.2 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/0.01227, allocations: 7.984 kB / 278.2 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.01227, allocations: 4 kB / 278.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.482e-05/0.01235, allocations: 99.2 kB / 278.3 MB, free: 11.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01235, allocations: 0 / 278.3 MB, free: 11.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002475/0.0126, allocations: 20 kB / 278.3 MB, free: 11.57 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 0.0001201/0.01272, allocations: 99.25 kB / 278.4 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002832/0.013, allocations: 79.81 kB / 278.5 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.013, allocations: 0 / 278.5 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.0131, allocations: 31.98 kB / 278.5 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.01345, allocations: 20.27 kB / 278.5 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006967/0.01415, allocations: 316.6 kB / 278.8 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.531e-05/0.01425, allocations: 88.31 kB / 278.9 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.337e-05/0.01429, allocations: 8.484 kB / 278.9 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.006e-05/0.01433, allocations: 12.5 kB / 278.9 MB, free: 10.87 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01433, allocations: 0 / 278.9 MB, free: 10.87 MB / 266.7 MB Notification: Performance of Templates: time 0.004346/0.01868, allocations: 1.056 MB / 280 MB, free: 9.836 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 4.325868598069064]