Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.002553/0.002553, allocations: 95.86 kB / 20.96 MB, free: 3.461 MB / 18.57 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.00283/0.00283, allocations: 149.1 kB / 24.26 MB, free: 168 kB / 18.57 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.534/1.534, allocations: 173.3 MB / 200.8 MB, free: 9.324 MB / 186.7 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 267.3 MB, free: 6.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.229e-05/3.413e-05, allocations: 6.312 kB / 267.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002936/0.00297, allocations: 1.514 MB / 268.8 MB, free: 5.223 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004493/0.003419, allocations: 151.4 kB / 269 MB, free: 5.074 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.952e-05/0.003489, allocations: 0 / 269 MB, free: 5.074 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.618e-05/0.003545, allocations: 3.938 kB / 269 MB, free: 5.07 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.003666, allocations: 15.94 kB / 269 MB, free: 5.055 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.003934, allocations: 39.77 kB / 269 MB, free: 5.016 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.004047, allocations: 31.92 kB / 269.1 MB, free: 4.984 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.004149, allocations: 8 kB / 269.1 MB, free: 4.977 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.711e-05/0.004216, allocations: 19.91 kB / 269.1 MB, free: 4.957 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.537e-05/0.004261, allocations: 11.98 kB / 269.1 MB, free: 4.945 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.004284, allocations: 4 kB / 269.1 MB, free: 4.941 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.321e-05/0.004297, allocations: 4 kB / 269.1 MB, free: 4.938 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.184e-05/0.004349, allocations: 15.92 kB / 269.1 MB, free: 4.922 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.121e-05/0.00438, allocations: 7.938 kB / 269.1 MB, free: 4.914 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.004517, allocations: 47.75 kB / 269.2 MB, free: 4.867 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.00452, allocations: 4 kB / 269.2 MB, free: 4.863 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.004521, allocations: 0 / 269.2 MB, free: 4.863 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.004526, allocations: 0 / 269.2 MB, free: 4.863 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005735/0.005099, allocations: 396 kB / 269.6 MB, free: 4.438 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.005139, allocations: 12.92 kB / 269.6 MB, free: 4.426 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.111e-05/0.00519, allocations: 8.891 kB / 269.6 MB, free: 4.418 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.005424, allocations: 136.5 kB / 269.7 MB, free: 4.258 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.005439, allocations: 8.375 kB / 269.7 MB, free: 4.25 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.005453, allocations: 8.312 kB / 269.7 MB, free: 4.242 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003168/0.00577, allocations: 132.9 kB / 269.9 MB, free: 4.09 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.005789, allocations: 4.172 kB / 269.9 MB, free: 4.086 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.005797, allocations: 384 / 269.9 MB, free: 4.086 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.005801, allocations: 384 / 269.9 MB, free: 4.086 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.676e-05/0.005868, allocations: 15.94 kB / 269.9 MB, free: 4.07 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003553/0.006223, allocations: 275.4 kB / 270.2 MB, free: 3.762 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/0.006446, allocations: 74.17 kB / 270.2 MB, free: 3.664 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.604e-05/0.006522, allocations: 35.42 kB / 270.3 MB, free: 3.621 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.006538, allocations: 3.938 kB / 270.3 MB, free: 3.617 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.006571, allocations: 37.39 kB / 270.3 MB, free: 3.57 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.006572, allocations: 4 kB / 270.3 MB, free: 3.566 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002725/0.006844, allocations: 81.44 kB / 270.4 MB, free: 3.48 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.062e-05/0.006915, allocations: 77.11 kB / 270.5 MB, free: 3.387 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.007096, allocations: 205.2 kB / 270.7 MB, free: 3.172 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.007114, allocations: 25.83 kB / 270.7 MB, free: 3.141 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.056e-05/0.007204, allocations: 138.9 kB / 270.8 MB, free: 3 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.702e-06/0.007211, allocations: 0 / 270.8 MB, free: 3 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.971e-05/0.007261, allocations: 27.33 kB / 270.9 MB, free: 2.965 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002544/0.007515, allocations: 0.4884 MB / 271.3 MB, free: 2.465 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.65e-05/0.007542, allocations: 0 / 271.3 MB, free: 2.465 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.261e-05/0.007564, allocations: 8 kB / 271.4 MB, free: 2.457 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.642e-05/0.007621, allocations: 23.61 kB / 271.4 MB, free: 2.43 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.007622, allocations: 0 / 271.4 MB, free: 2.43 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.692e-05/0.007719, allocations: 37.77 kB / 271.4 MB, free: 2.387 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.007737, allocations: 8 kB / 271.4 MB, free: 2.379 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.007748, allocations: 7.922 kB / 271.4 MB, free: 2.371 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.007762, allocations: 0 / 271.4 MB, free: 2.371 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.926e-05/0.007801, allocations: 0 / 271.4 MB, free: 2.371 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.007809, allocations: 4 kB / 271.4 MB, free: 2.367 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.173e-05/0.00783, allocations: 4 kB / 271.4 MB, free: 2.363 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.007835, allocations: 0 / 271.4 MB, free: 2.363 MB / 250.7 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 0.0001191/0.007954, allocations: 156.6 kB / 271.6 MB, free: 2.199 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.381e-05/0.008038, allocations: 53.58 kB / 271.6 MB, free: 2.141 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.021e-05/0.008078, allocations: 16.31 kB / 271.7 MB, free: 2.117 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.008083, allocations: 4 kB / 271.7 MB, free: 2.113 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.008086, allocations: 0 / 271.7 MB, free: 2.113 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.008089, allocations: 0 / 271.7 MB, free: 2.113 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.008264, allocations: 132.6 kB / 271.8 MB, free: 1.949 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.008266, allocations: 0 / 271.8 MB, free: 1.949 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.996e-05/0.008316, allocations: 8 kB / 271.8 MB, free: 1.941 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.008318, allocations: 0 / 271.8 MB, free: 1.941 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.008324, allocations: 0 / 271.8 MB, free: 1.941 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.008328, allocations: 3.938 kB / 271.8 MB, free: 1.938 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.008332, allocations: 4 kB / 271.8 MB, free: 1.934 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/0.008559, allocations: 223.7 kB / 272 MB, free: 1.691 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.202e-05/0.008601, allocations: 23.92 kB / 272 MB, free: 1.668 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.008617, allocations: 4 kB / 272.1 MB, free: 1.664 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.737e-05/0.008674, allocations: 7.922 kB / 272.1 MB, free: 1.656 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.008706, allocations: 4 kB / 272.1 MB, free: 1.652 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.00871, allocations: 0 / 272.1 MB, free: 1.652 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001041/0.008814, allocations: 143.2 kB / 272.2 MB, free: 1.512 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008814, allocations: 0 / 272.2 MB, free: 1.512 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002028/0.009017, allocations: 4 kB / 272.2 MB, free: 1.508 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.000116/0.009133, allocations: 99.25 kB / 272.3 MB, free: 1.402 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001224/0.009255, allocations: 27.67 kB / 272.3 MB, free: 1.371 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.009257, allocations: 3.938 kB / 272.3 MB, free: 1.367 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.922e-05/0.009296, allocations: 15.69 kB / 272.4 MB, free: 1.348 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.009626, allocations: 24.77 kB / 272.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003509/0.009977, allocations: 164.8 kB / 272.5 MB, free: 1.129 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.194e-05/0.01007, allocations: 79.44 kB / 272.6 MB, free: 1.031 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.405e-05/0.01009, allocations: 8.125 kB / 272.6 MB, free: 1.023 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.847e-05/0.01012, allocations: 8.5 kB / 272.6 MB, free: 1.016 MB / 250.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01012, allocations: 0 / 272.6 MB, free: 1.016 MB / 250.7 MB Notification: Performance of Templates: time 0.003439/0.01356, allocations: 0.5318 MB / 273.2 MB, free: 0.4961 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.294304793002084]