Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002002/0.002002, allocations: 76.66 kB / 20.67 MB, free: 1.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002241/0.002241, allocations: 147.5 kB / 23.94 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 318.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.653e-05, allocations: 6.219 kB / 318.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002405/0.002432, allocations: 1.498 MB / 320.4 MB, free: 2.539 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003651/0.002797, allocations: 139.4 kB / 320.6 MB, free: 2.449 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.125e-05/0.002868, allocations: 2.25 kB / 320.6 MB, free: 2.449 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.851e-05/0.002917, allocations: 5.109 kB / 320.6 MB, free: 2.445 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.003033, allocations: 11.02 kB / 320.6 MB, free: 2.438 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.003288, allocations: 39.61 kB / 320.6 MB, free: 2.414 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.343e-05/0.003382, allocations: 30.53 kB / 320.6 MB, free: 2.398 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.549e-05/0.003477, allocations: 4.969 kB / 320.6 MB, free: 2.398 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.499e-05/0.003522, allocations: 18.06 kB / 320.7 MB, free: 2.391 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.675e-05/0.003569, allocations: 13.12 kB / 320.7 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.003587, allocations: 1.406 kB / 320.7 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.377e-06/0.003596, allocations: 2.719 kB / 320.7 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.164e-05/0.003638, allocations: 9.312 kB / 320.7 MB, free: 2.379 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.486e-05/0.003662, allocations: 19.97 kB / 320.7 MB, free: 2.363 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.003764, allocations: 38.53 kB / 320.7 MB, free: 2.348 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.003766, allocations: 0 / 320.7 MB, free: 2.348 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.003767, allocations: 1.156 kB / 320.7 MB, free: 2.348 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.003771, allocations: 0 / 320.7 MB, free: 2.348 MB / 286.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.0003497/0.00412, allocations: 287.9 kB / 321 MB, free: 2.059 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.004156, allocations: 11.44 kB / 321 MB, free: 2.059 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.464e-05/0.004191, allocations: 12.8 kB / 321.1 MB, free: 2.051 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.004371, allocations: 136 kB / 321.2 MB, free: 1.91 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.004384, allocations: 5.438 kB / 321.2 MB, free: 1.906 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.004395, allocations: 2.594 kB / 321.2 MB, free: 1.906 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.00461, allocations: 87.84 kB / 321.3 MB, free: 1.832 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.004621, allocations: 192 / 321.3 MB, free: 1.832 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.004632, allocations: 1.812 kB / 321.3 MB, free: 1.832 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.004638, allocations: 4.375 kB / 321.3 MB, free: 1.828 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.865e-05/0.004706, allocations: 21.03 kB / 321.3 MB, free: 1.82 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002242/0.004931, allocations: 202.4 kB / 321.5 MB, free: 1.605 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.168e-05/0.005012, allocations: 43.58 kB / 321.5 MB, free: 1.555 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.363e-05/0.005056, allocations: 15.92 kB / 321.6 MB, free: 1.539 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.005078, allocations: 5.156 kB / 321.6 MB, free: 1.535 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.005098, allocations: 32.72 kB / 321.6 MB, free: 1.496 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.005099, allocations: 0 / 321.6 MB, free: 1.496 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002278/0.005327, allocations: 76.69 kB / 321.7 MB, free: 1.441 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.005367, allocations: 82.92 kB / 321.8 MB, free: 1.344 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.005472, allocations: 129.3 kB / 321.9 MB, free: 1.234 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.916e-06/0.005481, allocations: 30.86 kB / 321.9 MB, free: 1.199 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.105e-05/0.005512, allocations: 81.89 kB / 322 MB, free: 1.117 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.447e-06/0.005521, allocations: 5.688 kB / 322 MB, free: 1.113 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-05/0.005549, allocations: 17.62 kB / 322 MB, free: 1.094 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.867e-05/0.005598, allocations: 313.9 kB / 322.3 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.667e-05/0.005635, allocations: 4.641 kB / 322.3 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.82e-05/0.005663, allocations: 14.89 kB / 322.3 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.067e-05/0.005724, allocations: 16.2 kB / 322.4 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.005725, allocations: 0 / 322.4 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.327e-05/0.005818, allocations: 45.61 kB / 322.4 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.005832, allocations: 8.562 kB / 322.4 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.005839, allocations: 6.219 kB / 322.4 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.005853, allocations: 0 / 322.4 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.191e-05/0.005915, allocations: 8.141 kB / 322.4 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.00592, allocations: 0 / 322.4 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.069e-05/0.005961, allocations: 7.078 kB / 322.4 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.005967, allocations: 5.031 kB / 322.4 MB, free: 0.7148 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.974e-05/0.006026, allocations: 112.2 kB / 322.5 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.417e-05/0.006081, allocations: 46.22 kB / 322.6 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/0.006111, allocations: 15.34 kB / 322.6 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.006113, allocations: 1.125 kB / 322.6 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.006119, allocations: 0 / 322.6 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.006123, allocations: 5.25 kB / 322.6 MB, free: 0.543 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.006242, allocations: 114.8 kB / 322.7 MB, free: 424 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.006244, allocations: 1.125 kB / 322.7 MB, free: 424 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.87e-05/0.006282, allocations: 9.453 kB / 322.7 MB, free: 420 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.006284, allocations: 0 / 322.7 MB, free: 420 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.006292, allocations: 2.375 kB / 322.7 MB, free: 420 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.006295, allocations: 5.375 kB / 322.7 MB, free: 416 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.006296, allocations: 0 / 322.7 MB, free: 416 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.006433, allocations: 152.5 kB / 322.9 MB, free: 268 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.108e-05/0.006464, allocations: 19.19 kB / 322.9 MB, free: 256 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.006478, allocations: 5.984 kB / 322.9 MB, free: 252 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.166e-05/0.006539, allocations: 11.22 kB / 322.9 MB, free: 244 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.777e-05/0.006567, allocations: 4.875 kB / 322.9 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.006572, allocations: 2.156 kB / 322.9 MB, free: 240 kB / 286.1 MB Notification: Performance of sorting global known variables: time 5.865e-05/0.00663, allocations: 103.5 kB / 323 MB, free: 160 kB / 286.1 MB Notification: Performance of sort global known variables: time 7e-08/0.00663, allocations: 0 / 323 MB, free: 160 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002182/0.006849, allocations: 8.062 kB / 323 MB, free: 156 kB / 286.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 7.891e-05/0.006928, allocations: 97.67 kB / 323.1 MB, free: 68 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001266/0.007054, allocations: 17.22 kB / 323.2 MB, free: 64 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.007056, allocations: 0 / 323.2 MB, free: 64 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.68e-05/0.007093, allocations: 9.422 kB / 323.2 MB, free: 60 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.007407, allocations: 16.88 kB / 323.2 MB, free: 56 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004282/0.007835, allocations: 146.4 kB / 323.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.707e-05/0.007922, allocations: 69.19 kB / 323.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.917e-05/0.007941, allocations: 2.891 kB / 323.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.982e-05/0.007971, allocations: 14.16 kB / 323.4 MB, free: 15.83 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.007971, allocations: 0 / 323.4 MB, free: 15.83 MB / 302.1 MB Notification: Performance of Templates: time 0.00341/0.01138, allocations: 488.6 kB / 323.9 MB, free: 15.73 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.202041309326887]