Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001861/0.001861, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.002364/0.002364, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.625/1.625, allocations: 230.5 MB / 258.1 MB, free: 8.027 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.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 63.91 kB / 379 MB, free: 2.535 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2385, allocations: 53.41 MB / 432.4 MB, free: 6.781 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.003522/0.242, allocations: 1.919 MB / 434.4 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002273/0.2443, allocations: 1.305 MB / 435.7 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.2444, allocations: 7.938 kB / 435.7 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003061/0.2447, allocations: 67.67 kB / 435.7 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003596/0.2451, allocations: 127.4 kB / 435.9 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000667/0.2457, allocations: 234.6 kB / 436.1 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002649/0.246, allocations: 187.4 kB / 436.3 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.2461, allocations: 17.75 kB / 436.3 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.2462, allocations: 79.69 kB / 436.4 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.2464, allocations: 83.61 kB / 436.4 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.2464, allocations: 12 kB / 436.5 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001678/0.2466, allocations: 83.88 kB / 436.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.875e-05/0.2466, allocations: 51.83 kB / 436.6 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.212e-05/0.2467, allocations: 79.47 kB / 436.7 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003609/0.2471, allocations: 236.2 kB / 436.9 MB, free: 2.305 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2471, allocations: 4 kB / 436.9 MB, free: 2.301 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2471, allocations: 0 / 436.9 MB, free: 2.301 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.2471, allocations: 0 / 436.9 MB, free: 2.301 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007499/0.2479, allocations: 478.5 kB / 437.4 MB, free: 1.797 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.2479, allocations: 8.031 kB / 437.4 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.182e-05/0.248, allocations: 32.78 kB / 437.4 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004302/0.2484, allocations: 237.5 kB / 437.6 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.2484, allocations: 384 / 437.6 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.2484, allocations: 8.375 kB / 437.6 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000362/0.2488, allocations: 167.8 kB / 437.8 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.2488, allocations: 0 / 437.8 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.2488, allocations: 4 kB / 437.8 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2488, allocations: 0 / 437.8 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.2489, allocations: 35.92 kB / 437.8 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005535/0.2495, allocations: 353.5 kB / 438.2 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002644/0.2497, allocations: 115.9 kB / 438.3 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.346e-05/0.2498, allocations: 46.5 kB / 438.4 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.2499, allocations: 16 kB / 438.4 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.25, allocations: 71.38 kB / 438.4 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.25, allocations: 0 / 438.4 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.000398/0.2504, allocations: 157.6 kB / 438.6 MB, free: 424 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.2506, allocations: 166.2 kB / 438.8 MB, free: 220 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003956/0.2509, allocations: 337.8 kB / 439.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.251, allocations: 25.7 kB / 439.1 MB, free: 15.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.2511, allocations: 132.1 kB / 439.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.2511, allocations: 15.89 kB / 439.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.541e-05/0.2512, allocations: 29.7 kB / 439.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.2513, allocations: 342.8 kB / 439.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.381e-05/0.2514, allocations: 19.98 kB / 439.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.2515, allocations: 82.84 kB / 439.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.2517, allocations: 92.16 kB / 439.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2517, allocations: 0 / 439.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002465/0.2519, allocations: 125.5 kB / 439.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.252, allocations: 6.5 kB / 439.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.252, allocations: 7.938 kB / 439.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.252, allocations: 4.109 kB / 439.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.2521, allocations: 24.25 kB / 440 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.2521, allocations: 0 / 440 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.247e-05/0.2522, allocations: 11.98 kB / 440 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.2522, allocations: 8 kB / 440 MB, free: 14.9 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,subSample1.y,subSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001469/0.2523, allocations: 153.7 kB / 440.1 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.908e-05/0.2524, allocations: 73.44 kB / 440.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002776/0.2527, allocations: 127.4 kB / 440.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.2527, allocations: 0 / 440.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.2527, allocations: 0 / 440.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.2527, allocations: 3.984 kB / 440.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.253, allocations: 212.6 kB / 440.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.253, allocations: 0 / 440.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.541e-05/0.253, allocations: 11.98 kB / 440.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.253, allocations: 4.047 kB / 440.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.253, allocations: 3.984 kB / 440.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.253, allocations: 0 / 440.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.253, allocations: 4 kB / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002862/0.2533, allocations: 174.5 kB / 440.7 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.764e-05/0.2534, allocations: 35.84 kB / 440.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.2534, allocations: 3.984 kB / 440.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.222e-05/0.2535, allocations: 8 kB / 440.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.2536, allocations: 7.984 kB / 440.8 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.2536, allocations: 8 kB / 440.8 MB, free: 14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002605/0.2538, allocations: 249.2 kB / 441 MB, free: 13.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2538, allocations: 0 / 441 MB, free: 13.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002776/0.2541, allocations: 35.94 kB / 441.1 MB, free: 13.72 MB / 350.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: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00157/0.2557, allocations: 423.9 kB / 441.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002387/0.2559, allocations: 72.09 kB / 441.6 MB, free: 13.37 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2559, allocations: 4.062 kB / 441.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.721e-05/0.256, allocations: 19.98 kB / 441.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.2564, allocations: 74.28 kB / 441.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006914/0.2571, allocations: 406.6 kB / 442.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.2575, allocations: 0.7478 MB / 442.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.245e-05/0.2576, allocations: 19.44 kB / 442.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2576, allocations: 0 / 442.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of Templates: time 0.005522/0.2631, allocations: 2.969 MB / 445.8 MB, free: 9.082 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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: 7.691355811897665]