Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001564/0.002624, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009825/0.0009825, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0014/0.002383, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8192/0.8192, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.127/0.9462, allocations: 52.49 MB / 238.5 MB, free: 7.625 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 239.7 MB, free: 6.359 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.169e-05/1.334e-05, allocations: 2.312 kB / 239.7 MB, free: 6.355 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002659/0.002673, allocations: 1.676 MB / 241.4 MB, free: 4.688 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007204/0.003393, allocations: 476.7 kB / 241.9 MB, free: 4.219 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.28e-05/0.003466, allocations: 7.938 kB / 241.9 MB, free: 4.211 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.05e-05/0.003506, allocations: 4.625 kB / 241.9 MB, free: 4.207 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.334e-05/0.00358, allocations: 3.938 kB / 241.9 MB, free: 4.203 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001911/0.003771, allocations: 46.27 kB / 242 MB, free: 4.16 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.003881, allocations: 43.86 kB / 242 MB, free: 4.117 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.136e-05/0.003962, allocations: 15.97 kB / 242 MB, free: 4.102 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.004069, allocations: 35.84 kB / 242 MB, free: 4.066 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.449e-05/0.004124, allocations: 15.91 kB / 242.1 MB, free: 4.051 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.004148, allocations: 4 kB / 242.1 MB, free: 4.047 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.298e-05/0.004161, allocations: 5.438 kB / 242.1 MB, free: 4.043 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.409e-05/0.004205, allocations: 12 kB / 242.1 MB, free: 4.031 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.757e-05/0.004233, allocations: 11.94 kB / 242.1 MB, free: 4.02 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.004344, allocations: 28.67 kB / 242.1 MB, free: 3.992 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.024e-05/0.004354, allocations: 4 kB / 242.1 MB, free: 3.988 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.004355, allocations: 0 / 242.1 MB, free: 3.988 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.004366, allocations: 1.094 kB / 242.1 MB, free: 3.988 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000409/0.004775, allocations: 296.1 kB / 242.4 MB, free: 3.676 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.955e-05/0.004805, allocations: 11.16 kB / 242.4 MB, free: 3.668 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.484e-05/0.00484, allocations: 8.938 kB / 242.4 MB, free: 3.66 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.005004, allocations: 133.5 kB / 242.6 MB, free: 3.504 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.005015, allocations: 8.375 kB / 242.6 MB, free: 3.496 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.005027, allocations: 384 / 242.6 MB, free: 3.496 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.005225, allocations: 115.6 kB / 242.7 MB, free: 3.363 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.005232, allocations: 192 / 242.7 MB, free: 3.363 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.005241, allocations: 4.375 kB / 242.7 MB, free: 3.359 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.005254, allocations: 8.969 kB / 242.7 MB, free: 3.352 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.336e-05/0.005277, allocations: 11.94 kB / 242.7 MB, free: 3.34 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001809/0.005458, allocations: 156.2 kB / 242.9 MB, free: 3.172 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.005574, allocations: 53.08 kB / 242.9 MB, free: 3.102 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.889e-05/0.005603, allocations: 17.77 kB / 242.9 MB, free: 3.078 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.005618, allocations: 0 / 242.9 MB, free: 3.078 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.00564, allocations: 34.56 kB / 243 MB, free: 3.035 MB / 234.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.005641, allocations: 0 / 243 MB, free: 3.035 MB / 234.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001344/0.005776, allocations: 58.52 kB / 243 MB, free: 2.973 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.00582, allocations: 81.11 kB / 243.1 MB, free: 2.875 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.384e-05/0.005904, allocations: 132.5 kB / 243.2 MB, free: 2.734 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.005916, allocations: 26.61 kB / 243.3 MB, free: 2.703 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/0.005955, allocations: 92.06 kB / 243.3 MB, free: 2.609 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.261e-05/0.005967, allocations: 5.734 kB / 243.4 MB, free: 2.605 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/0.005997, allocations: 21.7 kB / 243.4 MB, free: 2.578 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.067e-05/0.006088, allocations: 310.8 kB / 243.7 MB, free: 2.266 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.815e-06/0.006096, allocations: 3.938 kB / 243.7 MB, free: 2.262 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.316e-06/0.006104, allocations: 4.656 kB / 243.7 MB, free: 2.258 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.482e-05/0.006129, allocations: 13.47 kB / 243.7 MB, free: 2.242 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.006131, allocations: 0 / 243.7 MB, free: 2.242 MB / 234.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.484e-05/0.006186, allocations: 39.66 kB / 243.7 MB, free: 2.199 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.006198, allocations: 4 kB / 243.7 MB, free: 2.195 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.006201, allocations: 0 / 243.7 MB, free: 2.195 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.006214, allocations: 3.938 kB / 243.7 MB, free: 2.191 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.129e-05/0.006266, allocations: 4 kB / 243.8 MB, free: 2.188 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.00627, allocations: 5.453 kB / 243.8 MB, free: 2.184 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.039e-05/0.00629, allocations: 0 / 243.8 MB, free: 2.184 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.006296, allocations: 4 kB / 243.8 MB, free: 2.18 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.621e-05/0.006352, allocations: 109.3 kB / 243.9 MB, free: 2.062 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.238e-05/0.006404, allocations: 41.62 kB / 243.9 MB, free: 2.016 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.185e-05/0.006436, allocations: 12.94 kB / 243.9 MB, free: 1.992 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.006439, allocations: 4.5 kB / 243.9 MB, free: 1.988 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.006441, allocations: 0 / 243.9 MB, free: 1.988 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.006445, allocations: 5.656 kB / 243.9 MB, free: 1.984 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.006559, allocations: 73.88 kB / 244 MB, free: 1.895 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.006561, allocations: 0 / 244 MB, free: 1.895 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.76e-05/0.006608, allocations: 11.98 kB / 244 MB, free: 1.883 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.903e-05/0.006637, allocations: 12.45 kB / 244 MB, free: 1.871 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.00664, allocations: 0 / 244 MB, free: 1.871 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.006647, allocations: 8.828 kB / 244 MB, free: 1.863 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.006649, allocations: 3.938 kB / 244 MB, free: 1.859 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.00665, allocations: 1.625 kB / 244 MB, free: 1.859 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.086e-05/0.006731, allocations: 132.4 kB / 244.2 MB, free: 1.711 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.006746, allocations: 7.984 kB / 244.2 MB, free: 1.703 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.777e-05/0.006804, allocations: 256 / 244.2 MB, free: 1.703 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.237e-05/0.006826, allocations: 7.938 kB / 244.2 MB, free: 1.695 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.006832, allocations: 4 kB / 244.2 MB, free: 1.691 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.21e-05/0.006864, allocations: 31.33 kB / 244.2 MB, free: 1.66 MB / 234.7 MB Notification: Performance of sort global known variables: time 9e-08/0.006864, allocations: 0 / 244.2 MB, free: 1.66 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.000199/0.007063, allocations: 4 kB / 244.2 MB, free: 1.656 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 4 * 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.807e-05/0.007131, allocations: 80.41 kB / 244.3 MB, free: 1.57 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 6.1e-05/0.007192, allocations: 16.73 kB / 244.3 MB, free: 1.551 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.007198, allocations: 4 kB / 244.3 MB, free: 1.547 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 1.992e-05/0.007218, allocations: 8.953 kB / 244.3 MB, free: 1.535 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.007481, allocations: 88.12 kB / 244.4 MB, free: 1.438 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008719/0.008353, allocations: 182.9 kB / 244.6 MB, free: 1.23 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.19e-05/0.008395, allocations: 59.34 kB / 244.7 MB, free: 1.152 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.606e-05/0.008421, allocations: 7.984 kB / 244.7 MB, free: 1.145 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.527e-05/0.008477, allocations: 51.38 kB / 244.7 MB, free: 1.094 MB / 234.7 MB Notification: Performance of SimCode: time 7.81e-07/0.008477, allocations: 0 / 244.7 MB, free: 1.094 MB / 234.7 MB Notification: Performance of Templates: time 0.002418/0.0109, allocations: 0.578 MB / 245.3 MB, free: 0.5273 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.156562712043524]