Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.001171/0.001171, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001054/0.001054, allocations: 170.3 kB / 24.82 MB, free: 9.266 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 1.022/1.022, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 273.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.365e-05/1.487e-05, allocations: 2.312 kB / 273.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.005351/0.005366, allocations: 1.737 MB / 275.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003713/0.005737, allocations: 167.3 kB / 275.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.245e-05/0.005819, allocations: 7.938 kB / 275.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.69e-05/0.005866, allocations: 7.922 kB / 275.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.005985, allocations: 7.875 kB / 275.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.006174, allocations: 47.77 kB / 275.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.601e-05/0.00627, allocations: 55.84 kB / 275.4 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.012e-05/0.00636, allocations: 23.97 kB / 275.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.852e-05/0.006419, allocations: 31.91 kB / 275.5 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.46e-05/0.006463, allocations: 19.92 kB / 275.5 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.006485, allocations: 4 kB / 275.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.076e-05/0.006496, allocations: 4 kB / 275.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.293e-05/0.006539, allocations: 19.91 kB / 275.5 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.305e-05/0.006562, allocations: 15.94 kB / 275.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.006666, allocations: 51.75 kB / 275.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.006667, allocations: 0 / 275.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.006668, allocations: 0 / 275.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.006672, allocations: 3.938 kB / 275.6 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003603/0.007032, allocations: 420.2 kB / 276 MB, free: 14.6 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.007067, allocations: 8.031 kB / 276 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.007099, allocations: 16.89 kB / 276 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.007242, allocations: 148.4 kB / 276.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.007254, allocations: 8.375 kB / 276.2 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.007264, allocations: 4.375 kB / 276.2 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003237/0.0105, allocations: 169.2 kB / 276.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.01051, allocations: 192 / 276.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.01052, allocations: 4.375 kB / 276.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.01052, allocations: 384 / 276.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.437e-05/0.01056, allocations: 23.84 kB / 276.4 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000264/0.01082, allocations: 390.9 kB / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.01097, allocations: 117.3 kB / 276.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.298e-05/0.01101, allocations: 47.09 kB / 276.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.01103, allocations: 8 kB / 276.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.01105, allocations: 33.39 kB / 277 MB, free: 13.49 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.01105, allocations: 4 kB / 277 MB, free: 13.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001796/0.01123, allocations: 97.58 kB / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.01128, allocations: 110.8 kB / 277.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.694e-05/0.01138, allocations: 187.8 kB / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.01139, allocations: 29.7 kB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.731e-05/0.01143, allocations: 130.9 kB / 277.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/0.01145, allocations: 11.94 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.01148, allocations: 31.58 kB / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.01161, allocations: 0.4883 MB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.432e-06/0.01161, allocations: 0 / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.736e-05/0.01163, allocations: 19.38 kB / 278.1 MB, free: 12.31 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.684e-05/0.01166, allocations: 27.3 kB / 278.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.01166, allocations: 0 / 278.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.671e-05/0.01172, allocations: 45.69 kB / 278.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.01173, allocations: 7.938 kB / 278.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.01173, allocations: 4.125 kB / 278.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.01174, allocations: 3.938 kB / 278.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.632e-05/0.01177, allocations: 4 kB / 278.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.01177, allocations: 0 / 278.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.696e-05/0.01179, allocations: 4 kB / 278.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-06/0.01179, allocations: 0 / 278.2 MB, free: 12.2 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 6.466e-05/0.01186, allocations: 156.6 kB / 278.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.074e-05/0.01194, allocations: 65.64 kB / 278.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.01197, allocations: 12.77 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.01197, allocations: 7.938 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.01197, allocations: 4 kB / 278.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.01198, allocations: 0 / 278.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.01216, allocations: 121.1 kB / 278.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01216, allocations: 0 / 278.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.488e-05/0.0122, allocations: 23.92 kB / 278.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.01221, allocations: 0 / 278.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.03e-06/0.01221, allocations: 0 / 278.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.01221, allocations: 8 kB / 278.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01221, allocations: 0 / 278.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.01234, allocations: 326.6 kB / 278.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.176e-05/0.01237, allocations: 15.98 kB / 278.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.01238, allocations: 4 kB / 278.9 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.051e-05/0.01246, allocations: 7.984 kB / 278.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.088e-05/0.01248, allocations: 3.938 kB / 278.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.01249, allocations: 4 kB / 278.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.133e-05/0.01254, allocations: 145.8 kB / 279.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01254, allocations: 0 / 279.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00024/0.01278, allocations: 4 kB / 279.1 MB, free: 11.24 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (10): * Single equations (assignments): 10 * 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.802e-05/0.01285, allocations: 103.2 kB / 279.2 MB, free: 11.13 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.227e-05/0.01291, allocations: 31.56 kB / 279.2 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.01291, allocations: 4 kB / 279.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.486e-05/0.01292, allocations: 11.67 kB / 279.2 MB, free: 11.08 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003355/0.01628, allocations: 38.19 kB / 279.2 MB, free: 11.04 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002868/0.01657, allocations: 207.9 kB / 279.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.864e-05/0.0166, allocations: 67.34 kB / 279.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.406e-05/0.01662, allocations: 0 / 279.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.828e-05/0.01667, allocations: 86.44 kB / 279.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01667, allocations: 0 / 279.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of Templates: time 0.002111/0.01878, allocations: 0.7343 MB / 280.3 MB, free: 9.898 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.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.682757945265621]