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.001346/0.001346, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001476/0.001476, allocations: 214.1 kB / 24.48 MB, free: 3.84 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.469/1.469, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.001593/0.001593, allocations: 51.92 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2413, allocations: 53.37 MB / 432.3 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.003428/0.2447, allocations: 1.516 MB / 433.8 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004117/0.2451, allocations: 127.5 kB / 434 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.719e-05/0.2452, allocations: 3.938 kB / 434 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.999e-05/0.2453, allocations: 7.922 kB / 434 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.2454, allocations: 15.94 kB / 434 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.2456, allocations: 31.91 kB / 434 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.827e-05/0.2457, allocations: 31.86 kB / 434.1 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.2458, allocations: 11.97 kB / 434.1 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.523e-05/0.2459, allocations: 11.94 kB / 434.1 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.408e-05/0.2459, allocations: 15.92 kB / 434.1 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.2459, allocations: 4 kB / 434.1 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.037e-05/0.2459, allocations: 0 / 434.1 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.605e-05/0.246, allocations: 7.938 kB / 434.1 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.727e-05/0.246, allocations: 19.81 kB / 434.1 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.2461, allocations: 54.42 kB / 434.2 MB, free: 4.891 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2461, allocations: 0 / 434.2 MB, free: 4.891 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2461, allocations: 0 / 434.2 MB, free: 4.891 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.2462, allocations: 0 / 434.2 MB, free: 4.891 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.0004505/0.2466, allocations: 282.1 kB / 434.5 MB, free: 4.582 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.2466, allocations: 8.031 kB / 434.5 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.2467, allocations: 8.891 kB / 434.5 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.2469, allocations: 126.4 kB / 434.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-06/0.2469, allocations: 4.375 kB / 434.6 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.247, allocations: 8.375 kB / 434.6 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/0.2472, allocations: 97.61 kB / 434.7 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.2472, allocations: 192 / 434.7 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.2472, allocations: 7.922 kB / 434.7 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.2472, allocations: 0 / 434.7 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.641e-05/0.2473, allocations: 19.92 kB / 434.7 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003041/0.2476, allocations: 205.4 kB / 434.9 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.777e-05/0.2477, allocations: 49.14 kB / 435 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.704e-05/0.2478, allocations: 17.78 kB / 435 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.2478, allocations: 7.875 kB / 435 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.2478, allocations: 34.56 kB / 435 MB, free: 3.891 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.2478, allocations: 0 / 435 MB, free: 3.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002279/0.248, allocations: 61.61 kB / 435.1 MB, free: 3.824 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.2481, allocations: 81.11 kB / 435.2 MB, free: 3.727 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.2482, allocations: 136.3 kB / 435.3 MB, free: 3.582 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.2482, allocations: 25.95 kB / 435.3 MB, free: 3.551 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.547e-05/0.2483, allocations: 96.12 kB / 435.4 MB, free: 3.453 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.426e-06/0.2483, allocations: 0 / 435.4 MB, free: 3.453 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.2483, allocations: 17.72 kB / 435.4 MB, free: 3.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.2485, allocations: 310.8 kB / 435.8 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.247e-05/0.2485, allocations: 19.86 kB / 435.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.995e-05/0.2486, allocations: 17.72 kB / 435.8 MB, free: 3.074 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.842e-05/0.2486, allocations: 25.7 kB / 435.8 MB, free: 3.043 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.2486, allocations: 4.062 kB / 435.8 MB, free: 3.039 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001181/0.2488, allocations: 57.52 kB / 435.9 MB, free: 2.977 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.2488, allocations: 4 kB / 435.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2488, allocations: 4 kB / 435.9 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.2488, allocations: 3.984 kB / 435.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.421e-05/0.2489, allocations: 4 kB / 435.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.2489, allocations: 0 / 435.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.789e-05/0.2489, allocations: 4 kB / 435.9 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.2489, allocations: 64 / 435.9 MB, free: 2.957 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 0.0001013/0.249, allocations: 121.8 kB / 436 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.173e-05/0.2491, allocations: 49.53 kB / 436.1 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.097e-05/0.2491, allocations: 11.77 kB / 436.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.2491, allocations: 0 / 436.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2491, allocations: 0 / 436.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.2491, allocations: 0 / 436.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.2493, allocations: 117.3 kB / 436.2 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2493, allocations: 0 / 436.2 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.736e-05/0.2493, allocations: 4 kB / 436.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.2493, allocations: 11.97 kB / 436.2 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.2493, allocations: 0 / 436.2 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2493, allocations: 3.938 kB / 436.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2493, allocations: 0 / 436.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.2495, allocations: 160.3 kB / 436.4 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-05/0.2496, allocations: 19.88 kB / 436.4 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.2496, allocations: 0 / 436.4 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.901e-05/0.2496, allocations: 7.984 kB / 436.4 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.2497, allocations: 0 / 436.4 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.2497, allocations: 4 kB / 436.4 MB, free: 2.391 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.377e-05/0.2497, allocations: 107.2 kB / 436.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2497, allocations: 0 / 436.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002231/0.25, allocations: 4 kB / 436.5 MB, free: 2.281 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 0.0001049/0.2501, allocations: 99.23 kB / 436.6 MB, free: 2.176 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001305/0.2502, allocations: 19.98 kB / 436.6 MB, free: 2.156 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2502, allocations: 0 / 436.6 MB, free: 2.156 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.477e-05/0.2502, allocations: 11.94 kB / 436.6 MB, free: 2.145 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.2506, allocations: 22.2 kB / 436.7 MB, free: 2.125 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003496/0.2509, allocations: 172.1 kB / 436.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.054e-05/0.251, allocations: 67.33 kB / 436.9 MB, free: 1.832 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.611e-05/0.251, allocations: 11.44 kB / 436.9 MB, free: 1.82 MB / 334.1 MB Notification: Performance of SimCode: time 4.7e-07/0.251, allocations: 0 / 436.9 MB, free: 1.82 MB / 334.1 MB Notification: Performance of Templates: time 0.002411/0.2534, allocations: 0.6493 MB / 437.5 MB, free: 1.176 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 -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: 6.731114055030048]