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.001754/0.001754, allocations: 107.6 kB / 21.19 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.001862/0.001862, allocations: 213.1 kB / 24.48 MB, free: 3.957 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.746 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.001511/0.001511, allocations: 47.92 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2294, allocations: 53.37 MB / 432.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003114/0.2325, allocations: 1.567 MB / 433.9 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.2335, allocations: 0.5337 MB / 434.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.751e-05/0.2336, allocations: 0 / 434.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.048e-05/0.2337, allocations: 7.875 kB / 434.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000127/0.2338, allocations: 15.91 kB / 434.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.2341, allocations: 59.77 kB / 434.5 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.2342, allocations: 51.78 kB / 434.6 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.205e-05/0.2343, allocations: 16.17 kB / 434.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.2344, allocations: 23.92 kB / 434.6 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.443e-05/0.2345, allocations: 19.86 kB / 434.6 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.2345, allocations: 4 kB / 434.6 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.366e-05/0.2345, allocations: 4 kB / 434.6 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.511e-05/0.2346, allocations: 15.92 kB / 434.6 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.16e-05/0.2346, allocations: 23.86 kB / 434.7 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.2348, allocations: 70.28 kB / 434.7 MB, free: 4.285 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2348, allocations: 0 / 434.7 MB, free: 4.285 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2348, allocations: 0 / 434.7 MB, free: 4.285 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.2348, allocations: 0 / 434.7 MB, free: 4.285 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.0004552/0.2352, allocations: 309.9 kB / 435 MB, free: 3.953 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.2353, allocations: 8.031 kB / 435 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001503/0.2354, allocations: 20.88 kB / 435.1 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.2357, allocations: 130.4 kB / 435.2 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.2357, allocations: 4.375 kB / 435.2 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.2357, allocations: 4.375 kB / 435.2 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002703/0.236, allocations: 117.2 kB / 435.3 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.236, allocations: 3.938 kB / 435.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-06/0.236, allocations: 0 / 435.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.236, allocations: 0 / 435.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.854e-05/0.2361, allocations: 23.92 kB / 435.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002929/0.2364, allocations: 209.4 kB / 435.5 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.37e-05/0.2365, allocations: 53.08 kB / 435.6 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.347e-05/0.2365, allocations: 21.78 kB / 435.6 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.2365, allocations: 0 / 435.6 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.2366, allocations: 38.55 kB / 435.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.2366, allocations: 0 / 435.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002445/0.2368, allocations: 61.58 kB / 435.7 MB, free: 3.156 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.178e-05/0.2369, allocations: 85.09 kB / 435.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.237, allocations: 140.6 kB / 435.9 MB, free: 2.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.237, allocations: 25.7 kB / 436 MB, free: 2.879 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.427e-05/0.2371, allocations: 96.31 kB / 436.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.313e-05/0.2371, allocations: 7.953 kB / 436.1 MB, free: 2.773 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.2371, allocations: 21.66 kB / 436.1 MB, free: 2.746 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.2373, allocations: 314.8 kB / 436.4 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.063e-05/0.2373, allocations: 7.984 kB / 436.4 MB, free: 2.422 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.125e-05/0.2374, allocations: 17.72 kB / 436.4 MB, free: 2.398 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.637e-05/0.2374, allocations: 29.7 kB / 436.4 MB, free: 2.363 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.2374, allocations: 3.938 kB / 436.4 MB, free: 2.359 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001227/0.2376, allocations: 65.62 kB / 436.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.2376, allocations: 8 kB / 436.5 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2376, allocations: 0 / 436.5 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.2376, allocations: 0 / 436.5 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.364e-05/0.2376, allocations: 4 kB / 436.5 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.2377, allocations: 0 / 436.5 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.81e-05/0.2377, allocations: 7.984 kB / 436.5 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.2377, allocations: 0 / 436.5 MB, free: 2.27 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.979e-05/0.2378, allocations: 125.8 kB / 436.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-05/0.2379, allocations: 37.59 kB / 436.7 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.524e-05/0.2379, allocations: 23.73 kB / 436.7 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2379, allocations: 0 / 436.7 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2379, allocations: 4 kB / 436.7 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2379, allocations: 0 / 436.7 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.2381, allocations: 117.2 kB / 436.8 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2381, allocations: 0 / 436.8 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.766e-05/0.2381, allocations: 7.984 kB / 436.8 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.2381, allocations: 4 kB / 436.8 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.2381, allocations: 32 / 436.8 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2381, allocations: 8 kB / 436.9 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2381, allocations: 0 / 436.9 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.2383, allocations: 168.2 kB / 437 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.412e-05/0.2384, allocations: 15.95 kB / 437 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.2384, allocations: 3.984 kB / 437 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.589e-05/0.2384, allocations: 0 / 437 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.1e-05/0.2385, allocations: 4 kB / 437 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.2385, allocations: 0 / 437 MB, free: 1.695 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.406e-05/0.2386, allocations: 111.2 kB / 437.2 MB, free: 1.586 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2386, allocations: 4.031 kB / 437.2 MB, free: 1.582 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002167/0.2388, allocations: 4 kB / 437.2 MB, free: 1.578 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.212e-05/0.2389, allocations: 91.25 kB / 437.2 MB, free: 1.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001309/0.239, allocations: 27.92 kB / 437.3 MB, free: 1.453 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.239, allocations: 0 / 437.3 MB, free: 1.453 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.98e-05/0.239, allocations: 11.98 kB / 437.3 MB, free: 1.441 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.2394, allocations: 20.09 kB / 437.3 MB, free: 1.422 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003533/0.2397, allocations: 200.2 kB / 437.5 MB, free: 1.191 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.098e-05/0.2398, allocations: 67.34 kB / 437.6 MB, free: 1.105 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.517e-05/0.2398, allocations: 15.42 kB / 437.6 MB, free: 1.09 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2398, allocations: 0 / 437.6 MB, free: 1.09 MB / 334.1 MB Notification: Performance of Templates: time 0.00218/0.242, allocations: 0.7615 MB / 438.3 MB, free: 344 kB / 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 -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: 6.85894570799428]