Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001346/0.001346, allocations: 112.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00144/0.00144, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 230.2 MB / 255.1 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 56.09 kB / 374.5 MB, free: 9.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1135, allocations: 53.32 MB / 427.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.003006/0.1165, allocations: 1.607 MB / 429.4 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.1176, allocations: 0.5532 MB / 430 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.617e-05/0.1177, allocations: 0 / 430 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.529e-05/0.1178, allocations: 3.938 kB / 430 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001385/0.1179, allocations: 11.88 kB / 430 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003271/0.1182, allocations: 66.67 kB / 430.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.1184, allocations: 51.78 kB / 430.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.1185, allocations: 12.19 kB / 430.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.1186, allocations: 27.92 kB / 430.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.341e-05/0.1187, allocations: 23.84 kB / 430.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.1187, allocations: 4 kB / 430.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.583e-05/0.1187, allocations: 8 kB / 430.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.895e-05/0.1188, allocations: 15.92 kB / 430.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.457e-05/0.1188, allocations: 23.81 kB / 430.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.119, allocations: 67.61 kB / 430.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.119, allocations: 0 / 430.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.119, allocations: 0 / 430.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.119, allocations: 4 kB / 430.3 MB, free: 2.008 MB / 350.1 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.0005379/0.1195, allocations: 383 kB / 430.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1196, allocations: 8.031 kB / 430.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.1197, allocations: 16.89 kB / 430.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.1201, allocations: 211.5 kB / 430.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.1201, allocations: 4.375 kB / 430.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.1201, allocations: 11.94 kB / 430.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002875/0.1204, allocations: 109.9 kB / 431 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1204, allocations: 3.938 kB / 431 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.1204, allocations: 3.984 kB / 431 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1204, allocations: 0 / 431 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.1205, allocations: 27.98 kB / 431.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003654/0.1209, allocations: 274.5 kB / 431.3 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.121, allocations: 71.78 kB / 431.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.85e-05/0.1211, allocations: 30.62 kB / 431.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.1211, allocations: 0 / 431.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.1211, allocations: 34.56 kB / 431.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.1211, allocations: 0 / 431.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002917/0.1214, allocations: 101.4 kB / 431.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.068e-05/0.1215, allocations: 102.8 kB / 431.7 MB, free: 416 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.1216, allocations: 141.8 kB / 431.8 MB, free: 264 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.1217, allocations: 29.7 kB / 431.8 MB, free: 228 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.588e-05/0.1217, allocations: 96.44 kB / 431.9 MB, free: 128 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.1217, allocations: 4 kB / 431.9 MB, free: 124 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-05/0.1218, allocations: 21.67 kB / 432 MB, free: 96 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1219, allocations: 318.8 kB / 432.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.78e-05/0.122, allocations: 8 kB / 432.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.683e-05/0.122, allocations: 35.42 kB / 432.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.1221, allocations: 47.36 kB / 432.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.1221, allocations: 4 kB / 432.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001516/0.1223, allocations: 73.55 kB / 432.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1223, allocations: 8 kB / 432.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.1223, allocations: 4.125 kB / 432.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1223, allocations: 0 / 432.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.454e-05/0.1224, allocations: 11.98 kB / 432.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.1224, allocations: 0 / 432.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.554e-05/0.1225, allocations: 7.938 kB / 432.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.1225, allocations: 7.938 kB / 432.5 MB, free: 15.54 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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 prepare postOptimizeDAE: time 9.277e-05/0.1226, allocations: 117.8 kB / 432.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.508e-05/0.1227, allocations: 57.53 kB / 432.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.874e-05/0.1227, allocations: 15.94 kB / 432.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.1227, allocations: 4 kB / 432.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1227, allocations: 3.984 kB / 432.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1227, allocations: 3.938 kB / 432.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.1229, allocations: 169.7 kB / 432.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1229, allocations: 0 / 432.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.767e-05/0.123, allocations: 11.98 kB / 432.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.123, allocations: 0 / 432.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.123, allocations: 4 kB / 432.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.123, allocations: 0 / 432.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.123, allocations: 0 / 432.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.1232, allocations: 185.1 kB / 433 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.076e-05/0.1233, allocations: 93.05 kB / 433.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.1233, allocations: 4 kB / 433.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.99e-05/0.1234, allocations: 0 / 433.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.1234, allocations: 11.94 kB / 433.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.1234, allocations: 3.984 kB / 433.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.776e-05/0.1235, allocations: 109.9 kB / 433.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1235, allocations: 0 / 433.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002385/0.1237, allocations: 4 kB / 433.3 MB, free: 14.64 MB / 366.1 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 0.0001204/0.1239, allocations: 103.2 kB / 433.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001692/0.124, allocations: 36.11 kB / 433.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.124, allocations: 0 / 433.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.435e-05/0.1241, allocations: 11.92 kB / 433.4 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.1244, allocations: 30.72 kB / 433.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004324/0.1249, allocations: 213.9 kB / 433.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.1252, allocations: 0.7005 MB / 434.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/0.1253, allocations: 7.438 kB / 434.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1253, allocations: 0 / 434.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of Templates: time 0.002695/0.1279, allocations: 0.8473 MB / 435.2 MB, free: 12.64 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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: 6.9591299400199205]