Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.001071/0.001071, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001642/0.002713, 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.0009869/0.0009869, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001432/0.002419, 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.8658/0.8658, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1379/1.004, 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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 239.7 MB, free: 6.355 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.707e-05/1.859e-05, allocations: 2.312 kB / 239.7 MB, free: 6.352 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.002548/0.002566, allocations: 1.646 MB / 241.4 MB, free: 4.715 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002684/0.002835, allocations: 151.4 kB / 241.5 MB, free: 4.566 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.635e-05/0.002901, allocations: 3.938 kB / 241.5 MB, free: 4.562 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.769e-05/0.002939, allocations: 4.5 kB / 241.5 MB, free: 4.559 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.705e-05/0.003006, allocations: 13.67 kB / 241.6 MB, free: 4.547 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/0.003171, allocations: 35.84 kB / 241.6 MB, free: 4.512 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 9.52e-05/0.003266, allocations: 31.86 kB / 241.6 MB, free: 4.48 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.411e-05/0.00334, allocations: 11.98 kB / 241.6 MB, free: 4.469 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.503e-05/0.003405, allocations: 20.66 kB / 241.7 MB, free: 4.449 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.479e-05/0.00345, allocations: 15.92 kB / 241.7 MB, free: 4.434 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.003473, allocations: 5.969 kB / 241.7 MB, free: 4.43 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.178e-05/0.003484, allocations: 4 kB / 241.7 MB, free: 4.426 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.318e-05/0.003528, allocations: 7.938 kB / 241.7 MB, free: 4.418 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.514e-05/0.003553, allocations: 11.94 kB / 241.7 MB, free: 4.406 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 9.624e-05/0.003649, allocations: 35.83 kB / 241.7 MB, free: 4.371 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.036e-06/0.003657, allocations: 0 / 241.7 MB, free: 4.371 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.003658, allocations: 1.469 kB / 241.7 MB, free: 4.371 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.00367, allocations: 0 / 241.7 MB, free: 4.371 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.0003656/0.004035, allocations: 280.3 kB / 242 MB, free: 4.07 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.004067, allocations: 8.656 kB / 242 MB, free: 4.062 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/0.0041, allocations: 8.922 kB / 242 MB, free: 4.055 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.004264, allocations: 138.8 kB / 242.2 MB, free: 3.895 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.004272, allocations: 384 / 242.2 MB, free: 3.895 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.004283, allocations: 6.031 kB / 242.2 MB, free: 3.891 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.004471, allocations: 115.5 kB / 242.3 MB, free: 3.758 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.004477, allocations: 192 / 242.3 MB, free: 3.758 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-06/0.004484, allocations: 384 / 242.3 MB, free: 3.758 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.004489, allocations: 1.344 kB / 242.3 MB, free: 3.758 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.879e-05/0.004508, allocations: 15.86 kB / 242.3 MB, free: 3.742 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.004691, allocations: 150.1 kB / 242.5 MB, free: 3.578 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.004808, allocations: 53.11 kB / 242.5 MB, free: 3.508 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.423e-05/0.004832, allocations: 18.53 kB / 242.5 MB, free: 3.484 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.004847, allocations: 0 / 242.5 MB, free: 3.484 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.004871, allocations: 43.17 kB / 242.6 MB, free: 3.434 MB / 234.7 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.004872, allocations: 0 / 242.6 MB, free: 3.434 MB / 234.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001208/0.004993, allocations: 54.3 kB / 242.6 MB, free: 3.375 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.005038, allocations: 85.73 kB / 242.7 MB, free: 3.273 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.721e-05/0.005115, allocations: 126.7 kB / 242.8 MB, free: 3.137 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/0.005124, allocations: 28.2 kB / 242.9 MB, free: 3.105 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.574e-05/0.00516, allocations: 92.12 kB / 242.9 MB, free: 3.012 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.203e-05/0.005172, allocations: 0 / 242.9 MB, free: 3.012 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.0052, allocations: 17.67 kB / 243 MB, free: 2.988 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.395e-05/0.005284, allocations: 314.8 kB / 243.3 MB, free: 2.672 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.364e-06/0.005291, allocations: 0 / 243.3 MB, free: 2.672 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.6e-06/0.005297, allocations: 5.375 kB / 243.3 MB, free: 2.668 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.707e-05/0.005314, allocations: 8.859 kB / 243.3 MB, free: 2.656 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.005317, allocations: 4 kB / 243.3 MB, free: 2.652 MB / 234.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.735e-05/0.005364, allocations: 34.52 kB / 243.3 MB, free: 2.613 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.005376, allocations: 4 kB / 243.3 MB, free: 2.609 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.005381, allocations: 5.078 kB / 243.3 MB, free: 2.605 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.799e-06/0.005391, allocations: 0 / 243.3 MB, free: 2.605 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.756e-05/0.005428, allocations: 11.06 kB / 243.3 MB, free: 2.598 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.495e-06/0.005431, allocations: 0 / 243.3 MB, free: 2.598 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.462e-05/0.005445, allocations: 0 / 243.3 MB, free: 2.598 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-06/0.005449, allocations: 0 / 243.3 MB, free: 2.598 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.824e-05/0.005507, allocations: 116.6 kB / 243.5 MB, free: 2.473 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/0.005556, allocations: 41.69 kB / 243.5 MB, free: 2.426 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.258e-05/0.005589, allocations: 8.344 kB / 243.5 MB, free: 2.406 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.00559, allocations: 0 / 243.5 MB, free: 2.406 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.005594, allocations: 8.891 kB / 243.5 MB, free: 2.398 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.005597, allocations: 0 / 243.5 MB, free: 2.398 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.005709, allocations: 77.83 kB / 243.6 MB, free: 2.305 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.00571, allocations: 0.9062 kB / 243.6 MB, free: 2.305 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.918e-05/0.00575, allocations: 11.98 kB / 243.6 MB, free: 2.293 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.66e-05/0.005776, allocations: 13.73 kB / 243.6 MB, free: 2.281 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.005778, allocations: 0 / 243.6 MB, free: 2.281 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-06/0.005783, allocations: 0 / 243.6 MB, free: 2.281 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.005784, allocations: 0 / 243.6 MB, free: 2.281 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.005786, allocations: 7.875 kB / 243.6 MB, free: 2.273 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.019e-05/0.005866, allocations: 145 kB / 243.8 MB, free: 2.113 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-06/0.005875, allocations: 0.5 kB / 243.8 MB, free: 2.113 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.862e-05/0.005924, allocations: 4 kB / 243.8 MB, free: 2.109 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-05/0.005945, allocations: 8.828 kB / 243.8 MB, free: 2.102 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.005949, allocations: 0 / 243.8 MB, free: 2.102 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.007e-05/0.005979, allocations: 29.64 kB / 243.8 MB, free: 2.074 MB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005979, allocations: 0 / 243.8 MB, free: 2.074 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001847/0.006164, allocations: 4 kB / 243.8 MB, free: 2.07 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 7.493e-05/0.006239, allocations: 76.67 kB / 243.9 MB, free: 1.988 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 5.701e-05/0.006296, allocations: 20.8 kB / 243.9 MB, free: 1.965 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.006303, allocations: 3.984 kB / 243.9 MB, free: 1.961 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 1.572e-05/0.006318, allocations: 8.859 kB / 243.9 MB, free: 1.949 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.006584, allocations: 84.19 kB / 244 MB, free: 1.852 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004095/0.006993, allocations: 151.1 kB / 244.1 MB, free: 1.676 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.205e-05/0.007036, allocations: 59.34 kB / 244.2 MB, free: 1.598 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.035e-05/0.007056, allocations: 7.891 kB / 244.2 MB, free: 1.59 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.247e-05/0.007108, allocations: 59.56 kB / 244.3 MB, free: 1.531 MB / 234.7 MB Notification: Performance of SimCode: time 6.92e-07/0.007109, allocations: 0 / 244.3 MB, free: 1.531 MB / 234.7 MB Notification: Performance of Templates: time 0.002411/0.00952, allocations: 0.5531 MB / 244.8 MB, free: 0.9883 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.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.227680995129049]