Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.00136/0.00136, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.001523/0.001523, allocations: 211.2 kB / 24.47 MB, free: 3.977 MB / 14.72 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.478/1.478, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 47.92 kB / 378.9 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2327, allocations: 53.38 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002984/0.2357, allocations: 1.559 MB / 433.9 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.2367, allocations: 0.5376 MB / 434.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.286e-05/0.2368, allocations: 3.938 kB / 434.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.425e-05/0.2369, allocations: 7.922 kB / 434.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.237, allocations: 7.938 kB / 434.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.2373, allocations: 67.73 kB / 434.5 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.2374, allocations: 43.8 kB / 434.5 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.858e-05/0.2375, allocations: 16.17 kB / 434.6 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.2376, allocations: 27.91 kB / 434.6 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.416e-05/0.2377, allocations: 23.86 kB / 434.6 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.2377, allocations: 8 kB / 434.6 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.181e-05/0.2378, allocations: 4 kB / 434.6 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.629e-05/0.2378, allocations: 11.94 kB / 434.6 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.457e-05/0.2378, allocations: 19.86 kB / 434.7 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.238, allocations: 70.28 kB / 434.7 MB, free: 4.293 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.238, allocations: 0 / 434.7 MB, free: 4.293 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.238, allocations: 0 / 434.7 MB, free: 4.293 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.238, allocations: 0 / 434.7 MB, free: 4.293 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004863/0.2385, allocations: 306 kB / 435 MB, free: 3.965 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.2385, allocations: 8.031 kB / 435 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001677/0.2387, allocations: 28.88 kB / 435.1 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.239, allocations: 142.3 kB / 435.2 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.239, allocations: 384 / 435.2 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.239, allocations: 4.375 kB / 435.2 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002708/0.2392, allocations: 101.2 kB / 435.3 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.2393, allocations: 0 / 435.3 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.2393, allocations: 15.98 kB / 435.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.2393, allocations: 0 / 435.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.904e-05/0.2394, allocations: 15.92 kB / 435.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002775/0.2396, allocations: 209.4 kB / 435.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.267e-05/0.2397, allocations: 49.09 kB / 435.6 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.215e-05/0.2398, allocations: 21.77 kB / 435.6 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.2398, allocations: 0 / 435.6 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.2398, allocations: 30.56 kB / 435.6 MB, free: 3.242 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.2398, allocations: 0 / 435.6 MB, free: 3.242 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002413/0.2401, allocations: 77.56 kB / 435.7 MB, free: 3.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.2401, allocations: 77.11 kB / 435.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.2402, allocations: 144.5 kB / 435.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.2403, allocations: 29.64 kB / 436 MB, free: 2.883 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.698e-05/0.2403, allocations: 92.12 kB / 436 MB, free: 2.789 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.2403, allocations: 7.953 kB / 436.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.2404, allocations: 13.72 kB / 436.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.2405, allocations: 318.8 kB / 436.4 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.259e-05/0.2406, allocations: 12.25 kB / 436.4 MB, free: 2.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.628e-05/0.2406, allocations: 17.7 kB / 436.4 MB, free: 2.406 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.573e-05/0.2407, allocations: 29.7 kB / 436.4 MB, free: 2.371 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.2407, allocations: 3.938 kB / 436.4 MB, free: 2.367 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001297/0.2408, allocations: 57.58 kB / 436.5 MB, free: 2.305 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.2408, allocations: 8 kB / 436.5 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.2408, allocations: 4.125 kB / 436.5 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.2409, allocations: 0 / 436.5 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.79e-05/0.2409, allocations: 7.984 kB / 436.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.2409, allocations: 0 / 436.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.839e-05/0.241, allocations: 4 kB / 436.5 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.241, allocations: 0 / 436.5 MB, free: 2.281 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.71e-05/0.2411, allocations: 121.7 kB / 436.6 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.362e-05/0.2411, allocations: 49.58 kB / 436.7 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.961e-05/0.2412, allocations: 11.77 kB / 436.7 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2412, allocations: 4.031 kB / 436.7 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.2412, allocations: 0 / 436.7 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.2412, allocations: 0 / 436.7 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.2413, allocations: 125.2 kB / 436.8 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2413, allocations: 0 / 436.8 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.754e-05/0.2414, allocations: 4 kB / 436.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2414, allocations: 0 / 436.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.2414, allocations: 8 kB / 436.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2414, allocations: 0 / 436.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2414, allocations: 0 / 436.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.2416, allocations: 172.2 kB / 437 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.694e-05/0.2416, allocations: 11.94 kB / 437 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.066e-05/0.2417, allocations: 4 kB / 437 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.839e-05/0.2418, allocations: 0 / 437 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.2418, allocations: 3.984 kB / 437 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.2418, allocations: 4 kB / 437 MB, free: 1.707 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.372e-05/0.2419, allocations: 111.2 kB / 437.1 MB, free: 1.598 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2419, allocations: 0 / 437.1 MB, free: 1.598 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002243/0.2421, allocations: 4 kB / 437.1 MB, free: 1.594 MB / 334.1 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 (2): * Single equations (assignments): 2 * 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 9.223e-05/0.2422, allocations: 99.28 kB / 437.2 MB, free: 1.488 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001358/0.2423, allocations: 23.92 kB / 437.3 MB, free: 1.465 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2423, allocations: 7.938 kB / 437.3 MB, free: 1.457 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.929e-05/0.2424, allocations: 7.984 kB / 437.3 MB, free: 1.449 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.2427, allocations: 23.94 kB / 437.3 MB, free: 1.426 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003585/0.2431, allocations: 167 kB / 437.5 MB, free: 1.234 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.3e-05/0.2432, allocations: 75.61 kB / 437.5 MB, free: 1.141 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.097e-05/0.2432, allocations: 3.938 kB / 437.5 MB, free: 1.137 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.202e-05/0.2432, allocations: 11.44 kB / 437.6 MB, free: 1.125 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2432, allocations: 0 / 437.6 MB, free: 1.125 MB / 334.1 MB Notification: Performance of Templates: time 0.004155/0.2474, allocations: 0.608 MB / 438.2 MB, free: 0.5352 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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: 4.24341855700186]