Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.0007333/0.0007333, allocations: 84 kB / 21.43 MB, free: 3.133 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.003653/0.003653, allocations: 150 kB / 24.68 MB, free: 9.438 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.8279/0.8279, allocations: 173.4 MB / 201.2 MB, free: 9.422 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.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 319.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.802e-05/1.933e-05, allocations: 13.39 kB / 319.7 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.00184/0.001859, allocations: 1.45 MB / 321.2 MB, free: 4.379 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001422/0.002001, allocations: 35.84 kB / 321.2 MB, free: 4.344 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.503e-05/0.002046, allocations: 0 / 321.2 MB, free: 4.344 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.173e-05/0.002068, allocations: 3.938 kB / 321.2 MB, free: 4.34 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.151e-05/0.002099, allocations: 0 / 321.2 MB, free: 4.34 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.002285, allocations: 23.92 kB / 321.2 MB, free: 4.316 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.194e-05/0.002357, allocations: 35.91 kB / 321.2 MB, free: 4.281 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.52e-05/0.002442, allocations: 11.98 kB / 321.3 MB, free: 4.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.956e-05/0.002482, allocations: 11.94 kB / 321.3 MB, free: 4.258 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.271e-05/0.002515, allocations: 11.98 kB / 321.3 MB, free: 4.246 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.002536, allocations: 8 kB / 321.3 MB, free: 4.238 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.232e-06/0.002542, allocations: 7.938 kB / 321.3 MB, free: 4.23 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/0.002558, allocations: 7.922 kB / 321.3 MB, free: 4.223 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.213e-05/0.00258, allocations: 11.98 kB / 321.3 MB, free: 4.211 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.139e-05/0.002652, allocations: 23.97 kB / 321.3 MB, free: 4.188 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.002653, allocations: 0 / 321.3 MB, free: 4.188 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.002654, allocations: 3.938 kB / 321.3 MB, free: 4.184 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.925e-06/0.002657, allocations: 0 / 321.3 MB, free: 4.184 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002762/0.002933, allocations: 281.5 kB / 321.6 MB, free: 3.879 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.002963, allocations: 8.922 kB / 321.6 MB, free: 3.871 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.258e-05/0.002986, allocations: 4.938 kB / 321.6 MB, free: 3.867 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.003108, allocations: 117.7 kB / 321.7 MB, free: 3.727 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.003126, allocations: 8.375 kB / 321.8 MB, free: 3.719 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-06/0.003134, allocations: 384 / 321.8 MB, free: 3.719 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.003349, allocations: 127.8 kB / 321.9 MB, free: 3.582 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.631e-06/0.003355, allocations: 192 / 321.9 MB, free: 3.582 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.003362, allocations: 384 / 321.9 MB, free: 3.582 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.003366, allocations: 384 / 321.9 MB, free: 3.582 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.325e-05/0.00343, allocations: 39.83 kB / 321.9 MB, free: 3.543 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.468e-05/0.003514, allocations: 105.3 kB / 322 MB, free: 3.41 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.216e-05/0.003606, allocations: 54.55 kB / 322.1 MB, free: 3.348 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.039e-05/0.003647, allocations: 24.92 kB / 322.1 MB, free: 3.32 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.764e-06/0.003655, allocations: 0 / 322.1 MB, free: 3.32 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.003673, allocations: 38.48 kB / 322.1 MB, free: 3.273 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.003674, allocations: 0 / 322.1 MB, free: 3.273 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.000157/0.003831, allocations: 81.61 kB / 322.2 MB, free: 3.188 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.003868, allocations: 59.41 kB / 322.3 MB, free: 3.117 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.867e-05/0.003917, allocations: 105.8 kB / 322.4 MB, free: 3.004 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.003926, allocations: 25.7 kB / 322.4 MB, free: 2.973 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.633e-05/0.003952, allocations: 88.12 kB / 322.5 MB, free: 2.883 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.265e-05/0.003965, allocations: 4 kB / 322.5 MB, free: 2.879 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.063e-05/0.003985, allocations: 17.66 kB / 322.5 MB, free: 2.855 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.047e-05/0.004056, allocations: 310.8 kB / 322.8 MB, free: 2.543 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.975e-06/0.004064, allocations: 4 kB / 322.8 MB, free: 2.539 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.899e-06/0.004069, allocations: 4 kB / 322.8 MB, free: 2.535 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.776e-05/0.004086, allocations: 16.78 kB / 322.8 MB, free: 2.516 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.004088, allocations: 0 / 322.8 MB, free: 2.516 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.256e-05/0.00412, allocations: 37.7 kB / 322.9 MB, free: 2.473 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.004131, allocations: 12.09 kB / 322.9 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.004134, allocations: 0 / 322.9 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.004144, allocations: 0 / 322.9 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.572e-05/0.00418, allocations: 4 kB / 322.9 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.004184, allocations: 0 / 322.9 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.045e-06/0.004192, allocations: 3.938 kB / 322.9 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-06/0.004194, allocations: 0 / 322.9 MB, free: 2.453 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: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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 4.856e-05/0.004243, allocations: 117.8 kB / 323 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.612e-05/0.004319, allocations: 65.56 kB / 323.1 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.871e-05/0.004338, allocations: 12.25 kB / 323.1 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.004339, allocations: 4 kB / 323.1 MB, free: 2.234 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.004343, allocations: 4 kB / 323.1 MB, free: 2.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.004346, allocations: 3.938 kB / 323.1 MB, free: 2.227 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.806e-05/0.004394, allocations: 101.3 kB / 323.2 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.004394, allocations: 0 / 323.2 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.676e-05/0.004421, allocations: 8 kB / 323.2 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.62e-07/0.004422, allocations: 0 / 323.2 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.004427, allocations: 0 / 323.2 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.004428, allocations: 3.984 kB / 323.2 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.004429, allocations: 0 / 323.2 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.617e-05/0.004515, allocations: 101.2 kB / 323.3 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-06/0.004521, allocations: 7.953 kB / 323.3 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.004532, allocations: 11.94 kB / 323.3 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.335e-05/0.004545, allocations: 4.031 kB / 323.3 MB, free: 1.945 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.766e-06/0.004548, allocations: 3.984 kB / 323.3 MB, free: 1.941 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.004551, allocations: 7.938 kB / 323.3 MB, free: 1.934 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.435e-05/0.004575, allocations: 79.28 kB / 323.4 MB, free: 1.855 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004576, allocations: 0 / 323.4 MB, free: 1.855 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001112/0.004687, allocations: 8 kB / 323.4 MB, free: 1.848 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.845e-05/0.004745, allocations: 103.2 kB / 323.5 MB, free: 1.738 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.36e-05/0.004819, allocations: 23.98 kB / 323.6 MB, free: 1.715 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.00482, allocations: 0 / 323.6 MB, free: 1.715 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.004821, allocations: 0 / 323.6 MB, free: 1.715 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001694/0.00499, allocations: 31.94 kB / 323.6 MB, free: 1.684 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002041/0.005194, allocations: 138.6 kB / 323.7 MB, free: 1.516 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.676e-05/0.005231, allocations: 71.33 kB / 323.8 MB, free: 1.426 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.957e-05/0.005251, allocations: 12.5 kB / 323.8 MB, free: 1.414 MB / 282.7 MB Notification: Performance of SimCode: time 2.91e-07/0.005251, allocations: 0 / 323.8 MB, free: 1.414 MB / 282.7 MB Notification: Performance of Templates: time 0.001201/0.006452, allocations: 0.6114 MB / 324.4 MB, free: 0.8086 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.7951414370909333]