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.002317/0.002317, allocations: 95.61 kB / 20.96 MB, free: 3.449 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.002887/0.002887, allocations: 161.3 kB / 24.27 MB, free: 144 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.529/1.529, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.482e-06/1.482e-06, allocations: 0 / 272.3 MB, free: 1.863 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.194e-05/3.342e-05, allocations: 2.312 kB / 272.3 MB, free: 1.859 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003503/0.003536, allocations: 1.889 MB / 274.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009616/0.004498, allocations: 470.8 kB / 274.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.915e-05/0.004587, allocations: 7.938 kB / 274.7 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.004708, allocations: 19.86 kB / 274.7 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.402e-05/0.004782, allocations: 23.78 kB / 274.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001526/0.004934, allocations: 27.91 kB / 274.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.005122, allocations: 107.6 kB / 274.8 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.005266, allocations: 29.52 kB / 274.9 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.005389, allocations: 59.88 kB / 274.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.399e-05/0.005473, allocations: 27.91 kB / 274.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.005499, allocations: 12 kB / 275 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.231e-05/0.005522, allocations: 8 kB / 275 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.351e-05/0.005555, allocations: 23.91 kB / 275 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.526e-05/0.00561, allocations: 31.92 kB / 275 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.005812, allocations: 99.66 kB / 275.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.005815, allocations: 0 / 275.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.005817, allocations: 0 / 275.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.005822, allocations: 0 / 275.1 MB, free: 15.02 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.0006654/0.006488, allocations: 444 kB / 275.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.006528, allocations: 8.031 kB / 275.6 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.078e-05/0.006589, allocations: 16.89 kB / 275.6 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.006818, allocations: 144.5 kB / 275.7 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.006829, allocations: 0.5625 kB / 275.7 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.098e-05/0.00686, allocations: 12.38 kB / 275.7 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002966/0.007156, allocations: 133.6 kB / 275.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.00717, allocations: 0 / 275.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.007184, allocations: 4 kB / 275.9 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.007191, allocations: 4 kB / 275.9 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001807/0.007372, allocations: 55.95 kB / 275.9 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008069/0.008179, allocations: 0.5368 MB / 276.5 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.008381, allocations: 87.03 kB / 276.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.00849, allocations: 39.61 kB / 276.6 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.008505, allocations: 0 / 276.6 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.008545, allocations: 41.33 kB / 276.6 MB, free: 13.37 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 8.02e-07/0.008546, allocations: 0 / 276.6 MB, free: 13.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003479/0.008894, allocations: 109.7 kB / 276.7 MB, free: 13.26 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.008937, allocations: 51.41 kB / 276.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.009116, allocations: 197.9 kB / 277 MB, free: 12.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.009137, allocations: 33.7 kB / 277 MB, free: 12.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.009249, allocations: 158.7 kB / 277.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.009282, allocations: 27.78 kB / 277.2 MB, free: 12.76 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.044e-05/0.009343, allocations: 39.33 kB / 277.2 MB, free: 12.71 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002664/0.009609, allocations: 0.4962 MB / 277.7 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.73e-05/0.009696, allocations: 23.98 kB / 277.7 MB, free: 12.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.00982, allocations: 78.41 kB / 277.8 MB, free: 12.08 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006063/0.01043, allocations: 110.3 kB / 277.9 MB, free: 11.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.01043, allocations: 4 kB / 277.9 MB, free: 11.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002664/0.0107, allocations: 125.4 kB / 278.1 MB, free: 11.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.01071, allocations: 7.984 kB / 278.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.01072, allocations: 4 kB / 278.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.01073, allocations: 0 / 278.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.01088, allocations: 32.11 kB / 278.1 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.571e-05/0.0109, allocations: 8 kB / 278.1 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.017e-05/0.01096, allocations: 11.94 kB / 278.1 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.01097, allocations: 7.938 kB / 278.1 MB, free: 11.75 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.0001304/0.0111, allocations: 164.6 kB / 278.3 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.01113, allocations: 11.89 kB / 278.3 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.138e-05/0.01117, allocations: 16.42 kB / 278.3 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01118, allocations: 0 / 278.3 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.01118, allocations: 0 / 278.3 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.01118, allocations: 0 / 278.3 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.01139, allocations: 156.6 kB / 278.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.0114, allocations: 0 / 278.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.01152, allocations: 19.98 kB / 278.5 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01152, allocations: 0 / 278.5 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.01154, allocations: 11.94 kB / 278.5 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.01154, allocations: 0 / 278.5 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.01155, allocations: 7.875 kB / 278.5 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004007/0.01195, allocations: 263.8 kB / 278.8 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.066e-05/0.01197, allocations: 11.95 kB / 278.8 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.01199, allocations: 3.938 kB / 278.8 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.316e-05/0.01206, allocations: 8 kB / 278.8 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/0.01211, allocations: 8.016 kB / 278.8 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.01211, allocations: 4 kB / 278.8 MB, free: 11.01 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001048/0.01222, allocations: 149.9 kB / 278.9 MB, free: 10.87 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01222, allocations: 0 / 278.9 MB, free: 10.87 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002336/0.01245, allocations: 20 kB / 279 MB, free: 10.85 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.0001315/0.01258, allocations: 103.2 kB / 279.1 MB, free: 10.74 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002498/0.01283, allocations: 83.78 kB / 279.1 MB, free: 10.65 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01284, allocations: 0 / 279.1 MB, free: 10.65 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.959e-05/0.01293, allocations: 35.67 kB / 279.2 MB, free: 10.61 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.01325, allocations: 20.2 kB / 279.2 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007084/0.01396, allocations: 325.9 kB / 279.5 MB, free: 10.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.01406, allocations: 84.31 kB / 279.6 MB, free: 10.14 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.236e-05/0.0141, allocations: 12.48 kB / 279.6 MB, free: 10.13 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.994e-05/0.01414, allocations: 12.5 kB / 279.6 MB, free: 10.12 MB / 266.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01415, allocations: 0 / 279.6 MB, free: 10.12 MB / 266.7 MB Notification: Performance of Templates: time 0.004465/0.01861, allocations: 1.056 MB / 280.7 MB, free: 9.082 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 -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","/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.397696916013956]