Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.001714/0.001714, allocations: 107 kB / 21.18 MB, free: 0.6484 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.00221/0.00221, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.495/1.495, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 47.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2454, allocations: 53.38 MB / 432.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.00268/0.2481, allocations: 1.524 MB / 433.9 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003649/0.2485, allocations: 131.5 kB / 434 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.366e-05/0.2485, allocations: 0 / 434 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.911e-05/0.2486, allocations: 3.938 kB / 434 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.2487, allocations: 11.92 kB / 434 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.2489, allocations: 35.91 kB / 434 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.157e-05/0.249, allocations: 27.92 kB / 434.1 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.786e-05/0.2491, allocations: 11.98 kB / 434.1 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.459e-05/0.2491, allocations: 11.94 kB / 434.1 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.793e-05/0.2491, allocations: 11.92 kB / 434.1 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.2492, allocations: 0 / 434.1 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.043e-05/0.2492, allocations: 4 kB / 434.1 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.987e-05/0.2492, allocations: 11.94 kB / 434.1 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.734e-05/0.2492, allocations: 23.8 kB / 434.1 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.254e-05/0.2493, allocations: 39.48 kB / 434.2 MB, free: 4.844 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2493, allocations: 0 / 434.2 MB, free: 4.844 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2493, allocations: 0 / 434.2 MB, free: 4.844 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.2493, allocations: 4 kB / 434.2 MB, free: 4.84 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000406/0.2497, allocations: 287.8 kB / 434.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.2498, allocations: 12.03 kB / 434.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.838e-05/0.2498, allocations: 4.891 kB / 434.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.25, allocations: 138.3 kB / 434.6 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.198e-06/0.25, allocations: 384 / 434.6 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.2501, allocations: 8.375 kB / 434.6 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.2503, allocations: 97.59 kB / 434.7 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.2503, allocations: 192 / 434.7 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.2503, allocations: 3.938 kB / 434.7 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.2503, allocations: 4 kB / 434.7 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.424e-05/0.2504, allocations: 19.92 kB / 434.7 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002686/0.2506, allocations: 201.4 kB / 434.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.447e-05/0.2507, allocations: 49.2 kB / 435 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.938e-05/0.2508, allocations: 25.66 kB / 435 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.2508, allocations: 7.922 kB / 435 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.2508, allocations: 34.56 kB / 435 MB, free: 3.828 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.2508, allocations: 0 / 435 MB, free: 3.828 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.00022/0.2511, allocations: 57.62 kB / 435.1 MB, free: 3.766 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.2511, allocations: 81.09 kB / 435.2 MB, free: 3.668 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.2512, allocations: 140.7 kB / 435.3 MB, free: 3.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.2513, allocations: 29.95 kB / 435.4 MB, free: 3.484 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.2513, allocations: 84.14 kB / 435.4 MB, free: 3.398 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.773e-06/0.2513, allocations: 0 / 435.4 MB, free: 3.398 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.2514, allocations: 17.72 kB / 435.4 MB, free: 3.375 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.2515, allocations: 318.8 kB / 435.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.935e-05/0.2515, allocations: 7.938 kB / 435.8 MB, free: 3.047 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.104e-05/0.2516, allocations: 21.7 kB / 435.8 MB, free: 3.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.567e-05/0.2516, allocations: 25.7 kB / 435.8 MB, free: 2.988 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.2516, allocations: 4.062 kB / 435.8 MB, free: 2.984 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001179/0.2518, allocations: 61.52 kB / 435.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.2518, allocations: 4 kB / 435.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.2518, allocations: 0 / 435.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.2518, allocations: 0 / 435.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.497e-05/0.2518, allocations: 4 kB / 435.9 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.2518, allocations: 4 kB / 435.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.813e-05/0.2519, allocations: 3.984 kB / 435.9 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-06/0.2519, allocations: 64 / 435.9 MB, free: 2.902 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: 2 (step.y,sample1.y) * 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 8.757e-05/0.252, allocations: 125.8 kB / 436 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.475e-05/0.252, allocations: 45.53 kB / 436.1 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.947e-05/0.2521, allocations: 15.75 kB / 436.1 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.2521, allocations: 0 / 436.1 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.2521, allocations: 4 kB / 436.1 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.2521, allocations: 0 / 436.1 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.2522, allocations: 117.3 kB / 436.2 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2522, allocations: 0 / 436.2 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.886e-05/0.2523, allocations: 4 kB / 436.2 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.2523, allocations: 7.969 kB / 436.2 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.2523, allocations: 3.984 kB / 436.2 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2523, allocations: 4 kB / 436.2 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2523, allocations: 0 / 436.2 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.2524, allocations: 148.3 kB / 436.4 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.765e-05/0.2525, allocations: 23.88 kB / 436.4 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.2525, allocations: 0 / 436.4 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.23e-05/0.2525, allocations: 4 kB / 436.4 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.483e-05/0.2526, allocations: 0 / 436.4 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.2526, allocations: 3.969 kB / 436.4 MB, free: 2.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.72e-05/0.2526, allocations: 115.2 kB / 436.5 MB, free: 2.227 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2526, allocations: 0 / 436.5 MB, free: 2.227 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002352/0.2529, allocations: 4 kB / 436.5 MB, free: 2.223 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: 2 (step.y,sample1.y) * 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.238e-05/0.253, allocations: 102.5 kB / 436.6 MB, free: 2.117 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001206/0.2531, allocations: 19.98 kB / 436.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2531, allocations: 0 / 436.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.324e-05/0.2531, allocations: 7.938 kB / 436.6 MB, free: 2.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.2534, allocations: 26.27 kB / 436.7 MB, free: 2.066 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002835/0.2537, allocations: 142.4 kB / 436.8 MB, free: 1.895 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.325e-05/0.2538, allocations: 71.34 kB / 436.9 MB, free: 1.805 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.921e-05/0.2538, allocations: 0 / 436.9 MB, free: 1.805 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/0.2538, allocations: 15.42 kB / 436.9 MB, free: 1.789 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2538, allocations: 0 / 436.9 MB, free: 1.789 MB / 334.1 MB Notification: Performance of Templates: time 0.002736/0.2566, allocations: 490.8 kB / 437.4 MB, free: 1.32 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.421415213990258]