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.0007754/0.0007754, allocations: 84 kB / 21.43 MB, free: 3.129 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.003107/0.003107, allocations: 141.9 kB / 24.68 MB, free: 9.426 MB / 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 0.8258/0.8258, allocations: 173.4 MB / 201.2 MB, free: 9.434 MB / 186.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.293e-06/1.293e-06, allocations: 3.938 kB / 319.7 MB, free: 5.863 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.616e-05/1.745e-05, allocations: 2.281 kB / 319.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.001625/0.001643, allocations: 1.511 MB / 321.2 MB, free: 4.336 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002917/0.001935, allocations: 139.5 kB / 321.3 MB, free: 4.199 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.749e-05/0.002002, allocations: 7.938 kB / 321.3 MB, free: 4.191 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.611e-05/0.002038, allocations: 3.938 kB / 321.3 MB, free: 4.188 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.00215, allocations: 11.97 kB / 321.4 MB, free: 4.176 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.00236, allocations: 35.84 kB / 321.4 MB, free: 4.141 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.958e-05/0.002439, allocations: 43.8 kB / 321.4 MB, free: 4.098 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.069e-05/0.00252, allocations: 11.97 kB / 321.4 MB, free: 4.086 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.938e-05/0.002559, allocations: 19.98 kB / 321.5 MB, free: 4.066 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.392e-05/0.002593, allocations: 11.91 kB / 321.5 MB, free: 4.055 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.002614, allocations: 4 kB / 321.5 MB, free: 4.051 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.097e-06/0.002623, allocations: 4 kB / 321.5 MB, free: 4.047 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.997e-05/0.002663, allocations: 15.94 kB / 321.5 MB, free: 4.031 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.002689, allocations: 8 kB / 321.5 MB, free: 4.023 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.041e-05/0.00278, allocations: 47.8 kB / 321.6 MB, free: 3.977 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.002782, allocations: 0 / 321.6 MB, free: 3.977 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.002783, allocations: 0 / 321.6 MB, free: 3.977 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.002786, allocations: 0 / 321.6 MB, free: 3.977 MB / 282.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.0003088/0.003095, allocations: 298 kB / 321.8 MB, free: 3.652 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.003125, allocations: 12.92 kB / 321.9 MB, free: 3.641 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.516e-05/0.00315, allocations: 4.891 kB / 321.9 MB, free: 3.637 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.003301, allocations: 133.7 kB / 322 MB, free: 3.48 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-06/0.003309, allocations: 4.375 kB / 322 MB, free: 3.477 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.873e-06/0.003316, allocations: 384 / 322 MB, free: 3.477 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.003523, allocations: 117.5 kB / 322.1 MB, free: 3.344 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.00353, allocations: 192 / 322.1 MB, free: 3.344 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.003539, allocations: 4.375 kB / 322.1 MB, free: 3.34 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.003545, allocations: 8.344 kB / 322.1 MB, free: 3.332 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.127e-05/0.003587, allocations: 27.86 kB / 322.1 MB, free: 3.305 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002049/0.003792, allocations: 209.4 kB / 322.4 MB, free: 3.066 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.00392, allocations: 61.14 kB / 322.4 MB, free: 2.988 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.523e-05/0.003955, allocations: 25.77 kB / 322.4 MB, free: 2.957 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.003969, allocations: 4 kB / 322.4 MB, free: 2.953 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.003986, allocations: 34.55 kB / 322.5 MB, free: 2.91 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 6.82e-07/0.003986, allocations: 0 / 322.5 MB, free: 2.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001559/0.004142, allocations: 85.59 kB / 322.6 MB, free: 2.82 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.004185, allocations: 85.11 kB / 322.6 MB, free: 2.719 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.937e-05/0.004264, allocations: 130.1 kB / 322.8 MB, free: 2.578 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/0.004273, allocations: 25.7 kB / 322.8 MB, free: 2.547 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.703e-05/0.00431, allocations: 88.14 kB / 322.9 MB, free: 2.457 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.903e-06/0.004317, allocations: 0 / 322.9 MB, free: 2.457 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.427e-05/0.004341, allocations: 21.66 kB / 322.9 MB, free: 2.43 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.034e-05/0.004421, allocations: 314.8 kB / 323.2 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.693e-05/0.004438, allocations: 7.938 kB / 323.2 MB, free: 2.105 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.259e-05/0.004451, allocations: 7.984 kB / 323.2 MB, free: 2.098 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.166e-05/0.004483, allocations: 24.88 kB / 323.3 MB, free: 2.07 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.004484, allocations: 0 / 323.3 MB, free: 2.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.268e-05/0.004537, allocations: 45.69 kB / 323.3 MB, free: 2.02 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.004548, allocations: 8 kB / 323.3 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.004554, allocations: 3.938 kB / 323.3 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.004565, allocations: 0 / 323.3 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.587e-05/0.004601, allocations: 4 kB / 323.3 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.004605, allocations: 0 / 323.3 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.365e-05/0.004619, allocations: 8.016 kB / 323.3 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.004625, allocations: 3.984 kB / 323.3 MB, free: 1.992 MB / 282.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 6.028e-05/0.004685, allocations: 113.8 kB / 323.4 MB, free: 1.871 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.832e-05/0.004723, allocations: 53.58 kB / 323.5 MB, free: 1.812 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.728e-05/0.00475, allocations: 16.28 kB / 323.5 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.004752, allocations: 0 / 323.5 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.004757, allocations: 4 kB / 323.5 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.00476, allocations: 3.938 kB / 323.5 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.804e-05/0.004848, allocations: 109.3 kB / 323.6 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.00485, allocations: 3.984 kB / 323.6 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.222e-05/0.004872, allocations: 12 kB / 323.6 MB, free: 1.629 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.004874, allocations: 0 / 323.6 MB, free: 1.629 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-06/0.00488, allocations: 4 kB / 323.6 MB, free: 1.625 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.004882, allocations: 7.938 kB / 323.6 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.004883, allocations: 0 / 323.6 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.601e-05/0.004979, allocations: 168.3 kB / 323.8 MB, free: 1.434 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.667e-05/0.005006, allocations: 16.22 kB / 323.8 MB, free: 1.418 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.967e-06/0.005015, allocations: 0 / 323.8 MB, free: 1.418 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.014e-05/0.005045, allocations: 7.938 kB / 323.8 MB, free: 1.41 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.258e-05/0.005067, allocations: 3.984 kB / 323.8 MB, free: 1.406 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.00507, allocations: 4 kB / 323.8 MB, free: 1.402 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.153e-05/0.005112, allocations: 110.6 kB / 323.9 MB, free: 1.297 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005112, allocations: 0 / 323.9 MB, free: 1.297 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001361/0.005248, allocations: 4 kB / 324 MB, free: 1.293 MB / 282.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.562e-05/0.005304, allocations: 95.25 kB / 324 MB, free: 1.191 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.94e-05/0.005373, allocations: 23.92 kB / 324.1 MB, free: 1.168 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.005374, allocations: 3.938 kB / 324.1 MB, free: 1.164 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.821e-05/0.005393, allocations: 20.05 kB / 324.1 MB, free: 1.145 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.005599, allocations: 14.78 kB / 324.1 MB, free: 1.133 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002031/0.005802, allocations: 175.4 kB / 324.3 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.61e-05/0.005848, allocations: 75.33 kB / 324.4 MB, free: 0.832 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.837e-05/0.005867, allocations: 8.5 kB / 324.4 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of SimCode: time 3.51e-07/0.005867, allocations: 0 / 324.4 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of Templates: time 0.001184/0.007051, allocations: 0.6841 MB / 325 MB, free: 148 kB / 282.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 480] 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: 3.859927337616682]