Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.696/1.696, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00171/0.00171, allocations: 47.92 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3572, allocations: 53.36 MB / 432.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.003539/0.3607, allocations: 1.543 MB / 433.9 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004997/0.3612, allocations: 135.5 kB / 434 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.599e-05/0.3613, allocations: 0 / 434 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.476e-05/0.3614, allocations: 3.938 kB / 434 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001543/0.3616, allocations: 19.91 kB / 434 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.3618, allocations: 27.92 kB / 434 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.3619, allocations: 39.91 kB / 434.1 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.3621, allocations: 11.98 kB / 434.1 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.002e-05/0.3621, allocations: 11.94 kB / 434.1 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.571e-05/0.3622, allocations: 19.8 kB / 434.1 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.3622, allocations: 0 / 434.1 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.178e-05/0.3622, allocations: 4 kB / 434.1 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.011e-05/0.3622, allocations: 11.98 kB / 434.1 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.962e-05/0.3623, allocations: 15.88 kB / 434.2 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.3624, allocations: 58.36 kB / 434.2 MB, free: 4.797 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.3624, allocations: 0 / 434.2 MB, free: 4.797 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3624, allocations: 0 / 434.2 MB, free: 4.797 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.3624, allocations: 4 kB / 434.2 MB, free: 4.793 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005499/0.363, allocations: 290.1 kB / 434.5 MB, free: 4.477 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.363, allocations: 8.031 kB / 434.5 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.258e-05/0.3631, allocations: 8.891 kB / 434.5 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.3634, allocations: 146.3 kB / 434.7 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.3634, allocations: 384 / 434.7 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.3634, allocations: 12.38 kB / 434.7 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003241/0.3637, allocations: 109.6 kB / 434.8 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3637, allocations: 192 / 434.8 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.3637, allocations: 7.938 kB / 434.8 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.3638, allocations: 3.984 kB / 434.8 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.876e-05/0.3638, allocations: 19.98 kB / 434.8 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003737/0.3642, allocations: 205.4 kB / 435 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.3644, allocations: 65.14 kB / 435.1 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.732e-05/0.3645, allocations: 29.7 kB / 435.1 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.3645, allocations: 3.938 kB / 435.1 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.3645, allocations: 38.5 kB / 435.1 MB, free: 3.723 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.011e-06/0.3645, allocations: 0 / 435.1 MB, free: 3.723 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000258/0.3648, allocations: 77.56 kB / 435.2 MB, free: 3.641 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.958e-05/0.3649, allocations: 77.11 kB / 435.3 MB, free: 3.547 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.365, allocations: 142.2 kB / 435.4 MB, free: 3.395 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.365, allocations: 25.7 kB / 435.5 MB, free: 3.363 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.854e-05/0.3651, allocations: 88.12 kB / 435.5 MB, free: 3.273 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.3651, allocations: 7.953 kB / 435.6 MB, free: 3.266 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.3652, allocations: 17.72 kB / 435.6 MB, free: 3.242 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.3653, allocations: 318.8 kB / 435.9 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.466e-05/0.3654, allocations: 8 kB / 435.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.386e-05/0.3654, allocations: 35.42 kB / 435.9 MB, free: 2.867 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.2e-05/0.3655, allocations: 47.36 kB / 436 MB, free: 2.809 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.3655, allocations: 0 / 436 MB, free: 2.809 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001297/0.3657, allocations: 69.5 kB / 436 MB, free: 2.734 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3657, allocations: 4 kB / 436 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.3657, allocations: 3.984 kB / 436 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.3657, allocations: 4 kB / 436.1 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.191e-05/0.3658, allocations: 12.12 kB / 436.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.3658, allocations: 4 kB / 436.1 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.452e-05/0.3658, allocations: 3.953 kB / 436.1 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.3658, allocations: 4 kB / 436.1 MB, free: 2.699 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001047/0.3659, allocations: 117.8 kB / 436.2 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.646e-05/0.366, allocations: 49.58 kB / 436.2 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.236e-05/0.366, allocations: 16.33 kB / 436.3 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.366, allocations: 0 / 436.3 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3661, allocations: 0 / 436.3 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.3661, allocations: 4 kB / 436.3 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.3662, allocations: 121.3 kB / 436.4 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3662, allocations: 0 / 436.4 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.156e-05/0.3663, allocations: 11.98 kB / 436.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.3663, allocations: 7.875 kB / 436.4 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.3663, allocations: 0 / 436.4 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3663, allocations: 0 / 436.4 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3663, allocations: 4 kB / 436.4 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.3665, allocations: 168.6 kB / 436.6 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-05/0.3665, allocations: 11.98 kB / 436.6 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.3665, allocations: 7.969 kB / 436.6 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.073e-05/0.3666, allocations: 8 kB / 436.6 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.998e-05/0.3666, allocations: 0 / 436.6 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-06/0.3666, allocations: 0 / 436.6 MB, free: 2.109 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.554e-05/0.3667, allocations: 107.2 kB / 436.7 MB, free: 2.004 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3667, allocations: 3.938 kB / 436.7 MB, free: 2 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002274/0.3669, allocations: 4 kB / 436.7 MB, free: 1.996 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: 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.0001392/0.3671, allocations: 102.5 kB / 436.8 MB, free: 1.891 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001721/0.3672, allocations: 36.11 kB / 436.8 MB, free: 1.855 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3672, allocations: 0 / 436.8 MB, free: 1.855 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.522e-05/0.3673, allocations: 7.984 kB / 436.8 MB, free: 1.848 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.3676, allocations: 19.97 kB / 436.9 MB, free: 1.828 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003803/0.368, allocations: 158.3 kB / 437 MB, free: 1.645 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.918e-05/0.3681, allocations: 71.33 kB / 437.1 MB, free: 1.555 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.961e-05/0.3681, allocations: 4 kB / 437.1 MB, free: 1.551 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/0.3682, allocations: 11.44 kB / 437.1 MB, free: 1.539 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3682, allocations: 4.125 kB / 437.1 MB, free: 1.535 MB / 334.1 MB Notification: Performance of Templates: time 0.003249/0.3714, allocations: 0.5602 MB / 437.7 MB, free: 0.9844 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.941312607988948]