Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.001029/0.001029, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.000923/0.000923, allocations: 163.5 kB / 24.99 MB, free: 8.344 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.02/1.02, allocations: 177.1 MB / 205.3 MB, free: 5.609 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 273.1 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.831e-05, allocations: 2.312 kB / 273.1 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002364/0.002393, allocations: 1.637 MB / 274.7 MB, free: 164 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008847/0.003277, allocations: 0.5258 MB / 275.2 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.974e-05/0.003377, allocations: 7.938 kB / 275.2 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.426e-05/0.003431, allocations: 3.938 kB / 275.2 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.003569, allocations: 15.86 kB / 275.3 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.00385, allocations: 55.77 kB / 275.3 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.003951, allocations: 55.77 kB / 275.4 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.004053, allocations: 12.12 kB / 275.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.004176, allocations: 39.89 kB / 275.4 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.599e-05/0.004232, allocations: 15.92 kB / 275.4 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.004249, allocations: 4 kB / 275.4 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.81e-05/0.004287, allocations: 4 kB / 275.4 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.028e-05/0.004327, allocations: 11.98 kB / 275.5 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.2e-05/0.004349, allocations: 15.94 kB / 275.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.004478, allocations: 55.75 kB / 275.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.00448, allocations: 0 / 275.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004481, allocations: 0 / 275.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.004485, allocations: 3.938 kB / 275.5 MB, free: 15.33 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003748/0.00486, allocations: 404.2 kB / 275.9 MB, free: 14.9 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.004893, allocations: 12.03 kB / 275.9 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.005013, allocations: 16.89 kB / 276 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.005196, allocations: 149 kB / 276.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.005206, allocations: 8.375 kB / 276.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.005215, allocations: 384 / 276.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.005433, allocations: 145 kB / 276.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.005442, allocations: 3.938 kB / 276.3 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.567e-06/0.00545, allocations: 0 / 276.3 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.005457, allocations: 0 / 276.3 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.637e-05/0.005483, allocations: 15.98 kB / 276.3 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002492/0.005732, allocations: 287.1 kB / 276.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.716e-05/0.0058, allocations: 81.25 kB / 276.6 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.86e-05/0.005838, allocations: 39.05 kB / 276.7 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.005855, allocations: 0 / 276.7 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.005875, allocations: 37.39 kB / 276.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.005876, allocations: 0 / 276.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001479/0.006024, allocations: 65.52 kB / 276.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.006074, allocations: 115.2 kB / 276.9 MB, free: 13.76 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.00618, allocations: 205.2 kB / 277.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.006189, allocations: 25.7 kB / 277.1 MB, free: 13.51 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.985e-05/0.006238, allocations: 130.9 kB / 277.2 MB, free: 13.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.31e-05/0.006252, allocations: 4 kB / 277.2 MB, free: 13.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/0.006279, allocations: 23.33 kB / 277.3 MB, free: 13.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.006397, allocations: 0.4922 MB / 277.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.229e-05/0.006409, allocations: 4 kB / 277.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.462e-06/0.006415, allocations: 0 / 277.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.307e-05/0.006439, allocations: 15.69 kB / 277.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.00644, allocations: 4.062 kB / 277.8 MB, free: 12.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.207e-05/0.006482, allocations: 41.62 kB / 277.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.006494, allocations: 4 kB / 277.8 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.006498, allocations: 0 / 277.8 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.006509, allocations: 0 / 277.8 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.803e-05/0.006557, allocations: 4 kB / 277.8 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.006562, allocations: 0 / 277.8 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.384e-05/0.006576, allocations: 0 / 277.8 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.006581, allocations: 0 / 277.8 MB, free: 12.76 MB / 266.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 6.168e-05/0.006642, allocations: 164.5 kB / 278 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.24e-05/0.006685, allocations: 57.61 kB / 278 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.642e-05/0.006711, allocations: 15.95 kB / 278.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.006714, allocations: 0 / 278.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.006718, allocations: 4 kB / 278.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.006722, allocations: 0 / 278.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.006824, allocations: 132.5 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.006825, allocations: 4 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.581e-05/0.006851, allocations: 7.984 kB / 278.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.006853, allocations: 4 kB / 278.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.00686, allocations: 64 / 278.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.006861, allocations: 4 kB / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.006864, allocations: 7.938 kB / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.006974, allocations: 219.2 kB / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.635e-05/0.007001, allocations: 19.88 kB / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.007011, allocations: 0 / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.235e-05/0.007073, allocations: 4 kB / 278.5 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.007106, allocations: 7.984 kB / 278.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.007111, allocations: 7.938 kB / 278.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.007e-05/0.007181, allocations: 139.2 kB / 278.6 MB, free: 11.9 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007181, allocations: 0 / 278.6 MB, free: 11.9 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001426/0.007324, allocations: 12 kB / 278.6 MB, free: 11.89 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 (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.528e-05/0.007389, allocations: 99.19 kB / 278.7 MB, free: 11.78 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.986e-05/0.007459, allocations: 19.67 kB / 278.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.00746, allocations: 0 / 278.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.214e-05/0.007472, allocations: 11.69 kB / 278.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.007717, allocations: 35.39 kB / 278.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004195/0.008137, allocations: 188.7 kB / 279 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.978e-05/0.008176, allocations: 63.34 kB / 279 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.938e-05/0.008196, allocations: 3.984 kB / 279 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.592e-05/0.008222, allocations: 12.5 kB / 279 MB, free: 11.38 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.008222, allocations: 0 / 279 MB, free: 11.38 MB / 266.7 MB Notification: Performance of Templates: time 0.002153/0.01038, allocations: 0.6337 MB / 279.7 MB, free: 10.76 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.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.9140267679467797]