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.001028/0.001028, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001668/0.002696, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.001124/0.001124, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004666/0.00579, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.8451/0.8451, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1388/0.9839, allocations: 52.49 MB / 238.5 MB, free: 7.605 MB / 234.7 MB " [Timeout remaining time 179] 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.232e-06/1.232e-06, allocations: 0 / 239.7 MB, free: 6.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.377e-06/1.061e-05, allocations: 2.312 kB / 239.7 MB, free: 6.344 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.001649/0.00166, allocations: 1.603 MB / 241.3 MB, free: 4.75 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.000197/0.001857, allocations: 151.4 kB / 241.5 MB, free: 4.602 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.877e-05/0.001916, allocations: 7.938 kB / 241.5 MB, free: 4.594 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.186e-05/0.001948, allocations: 8.672 kB / 241.5 MB, free: 4.586 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 5.12e-05/0.001999, allocations: 3.938 kB / 241.5 MB, free: 4.582 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000128/0.002127, allocations: 40.52 kB / 241.6 MB, free: 4.543 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 7.669e-05/0.002203, allocations: 31.92 kB / 241.6 MB, free: 4.512 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.25e-05/0.002266, allocations: 16.7 kB / 241.6 MB, free: 4.496 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.177e-05/0.002318, allocations: 20.58 kB / 241.6 MB, free: 4.477 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.719e-05/0.002355, allocations: 11.92 kB / 241.6 MB, free: 4.465 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.002374, allocations: 2.531 kB / 241.6 MB, free: 4.465 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.678e-06/0.002383, allocations: 4 kB / 241.6 MB, free: 4.461 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.719e-05/0.00242, allocations: 15.94 kB / 241.7 MB, free: 4.445 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.566e-05/0.002436, allocations: 4 kB / 241.7 MB, free: 4.441 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 8.158e-05/0.002518, allocations: 39.81 kB / 241.7 MB, free: 4.402 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.002526, allocations: 0 / 241.7 MB, free: 4.402 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.002526, allocations: 0 / 241.7 MB, free: 4.402 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.002536, allocations: 1.469 kB / 241.7 MB, free: 4.402 MB / 234.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.0003329/0.002869, allocations: 284.2 kB / 242 MB, free: 4.098 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.002906, allocations: 12.03 kB / 242 MB, free: 4.086 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.002937, allocations: 4.938 kB / 242 MB, free: 4.082 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.003076, allocations: 135.5 kB / 242.1 MB, free: 3.922 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.134e-06/0.003083, allocations: 4.375 kB / 242.1 MB, free: 3.918 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.003093, allocations: 4.375 kB / 242.1 MB, free: 3.914 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.003242, allocations: 113.4 kB / 242.2 MB, free: 3.785 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.003248, allocations: 192 / 242.2 MB, free: 3.785 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.601e-06/0.003254, allocations: 384 / 242.2 MB, free: 3.785 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.003259, allocations: 4.375 kB / 242.2 MB, free: 3.781 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.466e-05/0.003274, allocations: 15.86 kB / 242.3 MB, free: 3.766 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000142/0.003416, allocations: 154.4 kB / 242.4 MB, free: 3.598 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.76e-05/0.003503, allocations: 45.09 kB / 242.5 MB, free: 3.535 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.011e-05/0.003523, allocations: 21.77 kB / 242.5 MB, free: 3.508 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.003536, allocations: 1.062 kB / 242.5 MB, free: 3.508 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.003553, allocations: 38.55 kB / 242.5 MB, free: 3.461 MB / 234.7 MB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.003554, allocations: 3 kB / 242.5 MB, free: 3.461 MB / 234.7 MB Notification: Performance of matching and sorting (n=4): time 8.94e-05/0.003643, allocations: 45.62 kB / 242.6 MB, free: 3.41 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.003674, allocations: 85.05 kB / 242.6 MB, free: 3.309 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.935e-05/0.003733, allocations: 134.6 kB / 242.8 MB, free: 3.164 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 7.774e-06/0.003741, allocations: 25.7 kB / 242.8 MB, free: 3.133 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.598e-05/0.003767, allocations: 88.12 kB / 242.9 MB, free: 3.043 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.971e-06/0.003773, allocations: 0 / 242.9 MB, free: 3.043 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.02e-05/0.003793, allocations: 22.58 kB / 242.9 MB, free: 3.016 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.64e-05/0.003859, allocations: 318.8 kB / 243.2 MB, free: 2.695 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.891e-06/0.003865, allocations: 3.938 kB / 243.2 MB, free: 2.691 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.959e-06/0.00387, allocations: 4.906 kB / 243.2 MB, free: 2.688 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.465e-05/0.003885, allocations: 18.62 kB / 243.3 MB, free: 2.668 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.003887, allocations: 0 / 243.3 MB, free: 2.668 MB / 234.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 2.635e-05/0.003913, allocations: 29.7 kB / 243.3 MB, free: 2.633 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/0.003922, allocations: 4 kB / 243.3 MB, free: 2.629 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.003925, allocations: 0.6562 kB / 243.3 MB, free: 2.629 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.003935, allocations: 4 kB / 243.3 MB, free: 2.625 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.788e-05/0.003963, allocations: 4.625 kB / 243.3 MB, free: 2.621 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.003965, allocations: 0 / 243.3 MB, free: 2.621 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.254e-05/0.003978, allocations: 9.953 kB / 243.3 MB, free: 2.613 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-06/0.003981, allocations: 0 / 243.3 MB, free: 2.613 MB / 234.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 4.339e-05/0.004024, allocations: 112.6 kB / 243.4 MB, free: 2.492 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.004052, allocations: 37.69 kB / 243.4 MB, free: 2.449 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.35e-05/0.004076, allocations: 13.81 kB / 243.5 MB, free: 2.426 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.004077, allocations: 0 / 243.5 MB, free: 2.426 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.00408, allocations: 7.938 kB / 243.5 MB, free: 2.418 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.004082, allocations: 0 / 243.5 MB, free: 2.418 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.06e-05/0.004153, allocations: 74.5 kB / 243.5 MB, free: 2.328 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.004153, allocations: 0 / 243.5 MB, free: 2.328 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.45e-05/0.004178, allocations: 8.594 kB / 243.6 MB, free: 2.32 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.848e-05/0.004196, allocations: 15.88 kB / 243.6 MB, free: 2.305 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.004197, allocations: 0.5312 kB / 243.6 MB, free: 2.305 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.8e-06/0.004202, allocations: 9.688 kB / 243.6 MB, free: 2.297 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.02e-07/0.004203, allocations: 0 / 243.6 MB, free: 2.297 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.004204, allocations: 3.938 kB / 243.6 MB, free: 2.293 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.037e-05/0.004254, allocations: 136.3 kB / 243.7 MB, free: 2.141 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.783e-06/0.004261, allocations: 0.5 kB / 243.7 MB, free: 2.141 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.654e-05/0.004288, allocations: 4.812 kB / 243.7 MB, free: 2.137 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.68e-05/0.004305, allocations: 0 / 243.7 MB, free: 2.137 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.004307, allocations: 1.656 kB / 243.7 MB, free: 2.137 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.062e-05/0.004328, allocations: 35.72 kB / 243.8 MB, free: 2.102 MB / 234.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004328, allocations: 0 / 243.8 MB, free: 2.102 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001031/0.004431, allocations: 4 kB / 243.8 MB, free: 2.098 MB / 234.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 5.274e-05/0.004484, allocations: 88.59 kB / 243.8 MB, free: 2.004 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 4.523e-05/0.004529, allocations: 16.8 kB / 243.9 MB, free: 1.984 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.004532, allocations: 0 / 243.9 MB, free: 1.984 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 9.468e-06/0.004541, allocations: 8.859 kB / 243.9 MB, free: 1.973 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/0.004711, allocations: 72.27 kB / 243.9 MB, free: 1.887 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000298/0.005009, allocations: 163 kB / 244.1 MB, free: 1.699 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.89e-05/0.005038, allocations: 59.34 kB / 244.2 MB, free: 1.621 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 1.437e-05/0.005052, allocations: 7.906 kB / 244.2 MB, free: 1.613 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/0.005092, allocations: 59.56 kB / 244.2 MB, free: 1.555 MB / 234.7 MB Notification: Performance of SimCode: time 3.71e-07/0.005092, allocations: 0 / 244.2 MB, free: 1.555 MB / 234.7 MB Notification: Performance of Templates: time 0.001697/0.006789, allocations: 0.5638 MB / 244.8 MB, free: 1.008 MB / 234.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 -ignoreHideResult -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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.187324160709977]