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.001677/0.001677, allocations: 112.4 kB / 20.43 MB, free: 1.457 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.001857/0.001857, allocations: 180.9 kB / 23.71 MB, free: 4.695 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.552/1.552, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.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: 43.92 kB / 370.9 MB, free: 9.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3204, allocations: 52.19 MB / 423.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.003202/0.3236, allocations: 1.53 MB / 424.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004764/0.3241, allocations: 131.5 kB / 424.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.99e-05/0.3242, allocations: 4 kB / 424.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.721e-05/0.3243, allocations: 3.938 kB / 424.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.3244, allocations: 7.922 kB / 424.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.3247, allocations: 39.91 kB / 424.8 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.3248, allocations: 31.86 kB / 424.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.3249, allocations: 8 kB / 424.9 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.961e-05/0.3249, allocations: 11.98 kB / 424.9 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.795e-05/0.325, allocations: 11.88 kB / 424.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.325, allocations: 4 kB / 424.9 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.366e-05/0.325, allocations: 4 kB / 424.9 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.004e-05/0.3251, allocations: 3.984 kB / 424.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.135e-05/0.3251, allocations: 27.8 kB / 424.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.3252, allocations: 44.97 kB / 425 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3252, allocations: 0 / 425 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3252, allocations: 4 kB / 425 MB, free: 12.79 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.3252, allocations: 0 / 425 MB, free: 12.79 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.0005076/0.3258, allocations: 286.1 kB / 425.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.3258, allocations: 8.031 kB / 425.3 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.061e-05/0.3258, allocations: 8.891 kB / 425.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000273/0.3261, allocations: 138.4 kB / 425.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.3261, allocations: 4.312 kB / 425.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.3261, allocations: 4.375 kB / 425.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002692/0.3264, allocations: 97.61 kB / 425.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3264, allocations: 192 / 425.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.3264, allocations: 3.938 kB / 425.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.3264, allocations: 0 / 425.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.655e-05/0.3265, allocations: 15.92 kB / 425.5 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000354/0.3269, allocations: 228.9 kB / 425.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.594e-05/0.327, allocations: 53.08 kB / 425.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.162e-05/0.327, allocations: 13.78 kB / 425.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.327, allocations: 4 kB / 425.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.3271, allocations: 30.56 kB / 425.9 MB, free: 11.76 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.3271, allocations: 0 / 425.9 MB, free: 11.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002706/0.3273, allocations: 69.56 kB / 425.9 MB, free: 11.69 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.998e-05/0.3274, allocations: 81.11 kB / 426 MB, free: 11.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.3276, allocations: 130.4 kB / 426.1 MB, free: 11.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.3276, allocations: 33.69 kB / 426.2 MB, free: 11.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.182e-05/0.3276, allocations: 88.08 kB / 426.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.317e-06/0.3277, allocations: 3.953 kB / 426.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.3277, allocations: 17.72 kB / 426.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3278, allocations: 310.8 kB / 426.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.551e-05/0.3279, allocations: 11.98 kB / 426.6 MB, free: 10.97 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.06e-05/0.3279, allocations: 21.72 kB / 426.6 MB, free: 10.94 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.594e-05/0.328, allocations: 29.64 kB / 426.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.328, allocations: 0 / 426.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00012/0.3281, allocations: 57.55 kB / 426.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3281, allocations: 4 kB / 426.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3281, allocations: 4.125 kB / 426.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.3282, allocations: 4 kB / 426.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.233e-05/0.3282, allocations: 7.984 kB / 426.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3282, allocations: 0 / 426.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.702e-05/0.3283, allocations: 0 / 426.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.3283, allocations: 8 kB / 426.7 MB, free: 10.82 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 9.877e-05/0.3284, allocations: 117.8 kB / 426.8 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.686e-05/0.3284, allocations: 45.59 kB / 426.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.902e-05/0.3285, allocations: 3.844 kB / 426.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.3285, allocations: 11.98 kB / 426.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.3285, allocations: 7.938 kB / 426.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3285, allocations: 0 / 426.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.3287, allocations: 136.7 kB / 427 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3287, allocations: 0 / 427 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.233e-05/0.3287, allocations: 7.984 kB / 427 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.3287, allocations: 4 kB / 427 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.3287, allocations: 0 / 427 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3287, allocations: 0 / 427 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3287, allocations: 0 / 427 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001904/0.3289, allocations: 160.3 kB / 427.2 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.416e-05/0.329, allocations: 15.94 kB / 427.2 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.329, allocations: 0 / 427.2 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.106e-05/0.329, allocations: 4 kB / 427.2 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.3291, allocations: 3.938 kB / 427.2 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.3291, allocations: 4.016 kB / 427.2 MB, free: 10.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.103e-05/0.3292, allocations: 114.6 kB / 427.3 MB, free: 10.12 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3292, allocations: 0 / 427.3 MB, free: 10.12 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002207/0.3294, allocations: 4 kB / 427.3 MB, free: 10.11 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.0001086/0.3295, allocations: 95.25 kB / 427.4 MB, free: 10.01 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001426/0.3296, allocations: 19.98 kB / 427.5 MB, free: 9.992 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3296, allocations: 0 / 427.5 MB, free: 9.992 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.202e-05/0.3297, allocations: 16.05 kB / 427.5 MB, free: 9.977 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.33, allocations: 23.84 kB / 427.5 MB, free: 9.953 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003333/0.3304, allocations: 138.5 kB / 427.6 MB, free: 9.785 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.3307, allocations: 0.6844 MB / 428.3 MB, free: 9.074 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.992e-05/0.3307, allocations: 7.984 kB / 428.3 MB, free: 9.066 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.3308, allocations: 7.438 kB / 428.3 MB, free: 9.059 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3308, allocations: 4.156 kB / 428.3 MB, free: 9.055 MB / 334.1 MB Notification: Performance of Templates: time 0.003413/0.3342, allocations: 451.2 kB / 428.8 MB, free: 8.617 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 -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.884067102335393]