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.001854/0.001854, allocations: 75.19 kB / 21.24 MB, free: 0.5469 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.002627/0.002627, allocations: 149 kB / 24.49 MB, free: 3.73 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.415/1.415, allocations: 173.4 MB / 201.1 MB, free: 12.71 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 0.001636/0.001636, allocations: 52.09 kB / 319.4 MB, free: 3.285 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09295/0.09459, allocations: 52.15 MB / 371.6 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002992/0.09758, allocations: 1.513 MB / 373.1 MB, free: 5.852 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000378/0.09796, allocations: 135.6 kB / 373.2 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.382e-05/0.09803, allocations: 7.938 kB / 373.2 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.223e-05/0.09807, allocations: 0 / 373.2 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.09818, allocations: 11.92 kB / 373.2 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.0984, allocations: 43.83 kB / 373.3 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.483e-05/0.09849, allocations: 27.92 kB / 373.3 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.731e-05/0.09857, allocations: 4 kB / 373.3 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.187e-05/0.09861, allocations: 19.92 kB / 373.3 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.634e-05/0.09864, allocations: 7.875 kB / 373.3 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.09866, allocations: 4 kB / 373.3 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.207e-06/0.09867, allocations: 0 / 373.3 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.952e-05/0.09871, allocations: 11.98 kB / 373.3 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.922e-05/0.09874, allocations: 19.86 kB / 373.4 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.658e-05/0.09883, allocations: 39.77 kB / 373.4 MB, free: 5.523 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.09884, allocations: 0 / 373.4 MB, free: 5.523 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.09884, allocations: 0 / 373.4 MB, free: 5.523 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.09885, allocations: 0 / 373.4 MB, free: 5.523 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.0004199/0.09927, allocations: 294 kB / 373.7 MB, free: 5.203 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.0993, allocations: 12.92 kB / 373.7 MB, free: 5.191 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.05e-05/0.09933, allocations: 8.891 kB / 373.7 MB, free: 5.184 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.09955, allocations: 138.4 kB / 373.8 MB, free: 5.023 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.09956, allocations: 384 / 373.8 MB, free: 5.023 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.09957, allocations: 4.375 kB / 373.8 MB, free: 5.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.0998, allocations: 89.61 kB / 373.9 MB, free: 4.914 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.09981, allocations: 192 / 373.9 MB, free: 4.914 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.09982, allocations: 7.938 kB / 373.9 MB, free: 4.906 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.09982, allocations: 0 / 373.9 MB, free: 4.906 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.345e-05/0.0999, allocations: 19.98 kB / 374 MB, free: 4.887 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002735/0.1002, allocations: 205.4 kB / 374.2 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.322e-05/0.1003, allocations: 37.16 kB / 374.2 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.171e-05/0.1003, allocations: 25.77 kB / 374.2 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.1003, allocations: 3.938 kB / 374.2 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.1004, allocations: 38.5 kB / 374.3 MB, free: 4.516 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.1004, allocations: 0 / 374.3 MB, free: 4.516 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002382/0.1006, allocations: 65.62 kB / 374.3 MB, free: 4.445 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/0.1007, allocations: 85.05 kB / 374.4 MB, free: 4.344 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.1008, allocations: 130.1 kB / 374.5 MB, free: 4.203 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.1008, allocations: 29.64 kB / 374.6 MB, free: 4.168 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.091e-05/0.1009, allocations: 88.14 kB / 374.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.809e-06/0.1009, allocations: 3.953 kB / 374.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.1009, allocations: 21.7 kB / 374.7 MB, free: 4.047 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.1011, allocations: 314.8 kB / 375 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.269e-05/0.1012, allocations: 12.23 kB / 375 MB, free: 3.719 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.118e-05/0.1012, allocations: 17.72 kB / 375 MB, free: 3.695 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.602e-05/0.1013, allocations: 25.7 kB / 375 MB, free: 3.664 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.1013, allocations: 0 / 375 MB, free: 3.664 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001199/0.1014, allocations: 53.56 kB / 375.1 MB, free: 3.605 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.1014, allocations: 11.94 kB / 375.1 MB, free: 3.594 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.1014, allocations: 4.125 kB / 375.1 MB, free: 3.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.1014, allocations: 0 / 375.1 MB, free: 3.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.245e-05/0.1015, allocations: 7.984 kB / 375.1 MB, free: 3.582 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1015, allocations: 0 / 375.1 MB, free: 3.582 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.649e-05/0.1015, allocations: 4 kB / 375.1 MB, free: 3.578 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.1015, allocations: 0 / 375.1 MB, free: 3.578 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.0001098/0.1017, allocations: 121.8 kB / 375.2 MB, free: 3.449 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.672e-05/0.1017, allocations: 45.58 kB / 375.3 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.03e-05/0.1017, allocations: 7.812 kB / 375.3 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1017, allocations: 4.031 kB / 375.3 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1018, allocations: 0 / 375.3 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1018, allocations: 0 / 375.3 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.1019, allocations: 117.3 kB / 375.4 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1019, allocations: 0 / 375.4 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.079e-05/0.102, allocations: 7.984 kB / 375.4 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/0.102, allocations: 3.938 kB / 375.4 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.102, allocations: 0 / 375.4 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.102, allocations: 4 kB / 375.4 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.102, allocations: 0 / 375.4 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.1022, allocations: 156.3 kB / 375.6 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.474e-05/0.1022, allocations: 27.86 kB / 375.6 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.1022, allocations: 0 / 375.6 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.714e-05/0.1023, allocations: 0 / 375.6 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.1023, allocations: 7.984 kB / 375.6 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.1023, allocations: 0 / 375.6 MB, free: 3.02 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.501e-05/0.1024, allocations: 105.9 kB / 375.7 MB, free: 2.918 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1024, allocations: 0 / 375.7 MB, free: 2.918 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002196/0.1026, allocations: 4 kB / 375.7 MB, free: 2.914 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.0001092/0.1027, allocations: 99.28 kB / 375.8 MB, free: 2.809 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001245/0.1028, allocations: 23.92 kB / 375.8 MB, free: 2.785 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1028, allocations: 0 / 375.8 MB, free: 2.785 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.522e-05/0.1029, allocations: 11.92 kB / 375.9 MB, free: 2.773 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.1032, allocations: 21.5 kB / 375.9 MB, free: 2.758 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002977/0.1035, allocations: 146.1 kB / 376 MB, free: 2.582 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.372e-05/0.1035, allocations: 75.61 kB / 376.1 MB, free: 2.488 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.924e-05/0.1036, allocations: 7.938 kB / 376.1 MB, free: 2.48 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.269e-05/0.1036, allocations: 8.5 kB / 376.1 MB, free: 2.469 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1036, allocations: 4 kB / 376.1 MB, free: 2.465 MB / 334.1 MB Notification: Performance of Templates: time 0.002786/0.1064, allocations: 488.8 kB / 376.6 MB, free: 1.992 MB / 334.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/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.316746054100804]