Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.001717/0.001717, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.001892/0.001892, allocations: 186 kB / 22.21 MB, free: 116 kB / 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.556/1.556, allocations: 225.6 MB / 250.8 MB, free: 13.38 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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 55.91 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3498, allocations: 52.13 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.003175/0.353, allocations: 1.457 MB / 422.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003189/0.3533, allocations: 97.73 kB / 422.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.009e-05/0.3534, allocations: 0 / 422.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.531e-05/0.3534, allocations: 3.938 kB / 422.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.588e-05/0.3535, allocations: 11.88 kB / 422.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.3537, allocations: 15.97 kB / 422.4 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.062e-05/0.3538, allocations: 31.92 kB / 422.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.3539, allocations: 8 kB / 422.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.5e-05/0.354, allocations: 11.92 kB / 422.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.24e-05/0.354, allocations: 11.94 kB / 422.5 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.3541, allocations: 0 / 422.5 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.141e-05/0.3541, allocations: 4 kB / 422.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.157e-05/0.3541, allocations: 11.91 kB / 422.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.685e-05/0.3541, allocations: 11.94 kB / 422.5 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.3542, allocations: 27.56 kB / 422.6 MB, free: 13.42 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3542, allocations: 4 kB / 422.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3542, allocations: 3.938 kB / 422.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.3542, allocations: 4 kB / 422.6 MB, free: 13.41 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005043/0.3548, allocations: 340.2 kB / 422.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.3548, allocations: 15.88 kB / 422.9 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.708e-05/0.3548, allocations: 8.938 kB / 422.9 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.3551, allocations: 180.3 kB / 423.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.3551, allocations: 4.375 kB / 423.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.3551, allocations: 384 / 423.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003648/0.3555, allocations: 115.8 kB / 423.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3555, allocations: 192 / 423.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.3555, allocations: 3.938 kB / 423.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.3555, allocations: 0 / 423.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.426e-05/0.3556, allocations: 19.98 kB / 423.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001852/0.3558, allocations: 165.6 kB / 423.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.3559, allocations: 46.61 kB / 423.4 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.188e-05/0.356, allocations: 28.81 kB / 423.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.356, allocations: 0 / 423.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.356, allocations: 34.55 kB / 423.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 3.737e-06/0.356, allocations: 4 kB / 423.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002468/0.3563, allocations: 81.48 kB / 423.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.3563, allocations: 55.41 kB / 423.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.3564, allocations: 109.8 kB / 423.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.3565, allocations: 25.7 kB / 423.8 MB, free: 11.99 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/0.3565, allocations: 84.14 kB / 423.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.172e-06/0.3565, allocations: 0 / 423.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.3565, allocations: 17.72 kB / 423.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.3567, allocations: 322.8 kB / 424.2 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.829e-06/0.3567, allocations: 0 / 424.2 MB, free: 11.56 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.811e-05/0.3567, allocations: 27.44 kB / 424.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.723e-05/0.3568, allocations: 43.31 kB / 424.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3568, allocations: 0 / 424.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.788e-05/0.3569, allocations: 53.62 kB / 424.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.3569, allocations: 10.91 kB / 424.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.3569, allocations: 3.938 kB / 424.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.3569, allocations: 4 kB / 424.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.168e-05/0.357, allocations: 4 kB / 424.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.357, allocations: 7.984 kB / 424.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.81e-05/0.357, allocations: 4.125 kB / 424.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.357, allocations: 4 kB / 424.4 MB, free: 11.37 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: 3 (assignClock1.y,assignClock1.u,step.y) * 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 9.713e-05/0.3571, allocations: 113.8 kB / 424.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.3572, allocations: 61.58 kB / 424.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.803e-05/0.3572, allocations: 15.83 kB / 424.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.3572, allocations: 0 / 424.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3572, allocations: 256 / 424.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3572, allocations: 0 / 424.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.3574, allocations: 161.7 kB / 424.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3574, allocations: 0 / 424.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.242e-05/0.3574, allocations: 11.98 kB / 424.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.3574, allocations: 0 / 424.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.3574, allocations: 3.938 kB / 424.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.3574, allocations: 4 kB / 424.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3574, allocations: 3.938 kB / 424.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.3576, allocations: 81.11 kB / 424.8 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.333e-05/0.3576, allocations: 85.06 kB / 424.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.3576, allocations: 3.938 kB / 424.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.41e-05/0.3577, allocations: 4 kB / 424.9 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-06/0.3577, allocations: 0 / 424.9 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/0.3577, allocations: 0 / 424.9 MB, free: 10.72 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.883e-05/0.3577, allocations: 91.2 kB / 425 MB, free: 10.63 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3577, allocations: 0 / 425 MB, free: 10.63 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001839/0.3579, allocations: 4 kB / 425 MB, free: 10.63 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (step.y,assignClock1.u,assignClock1.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.0001213/0.358, allocations: 103.2 kB / 425.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001228/0.3582, allocations: 23.98 kB / 425.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3582, allocations: 0 / 425.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.3582, allocations: 3.938 kB / 425.1 MB, free: 10.49 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.3584, allocations: 23.97 kB / 425.1 MB, free: 10.47 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000294/0.3587, allocations: 117.5 kB / 425.2 MB, free: 10.33 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.359, allocations: 0.6852 MB / 425.9 MB, free: 9.617 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.431e-05/0.359, allocations: 4 kB / 425.9 MB, free: 9.613 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.506e-05/0.359, allocations: 7.438 kB / 425.9 MB, free: 9.605 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.359, allocations: 3.938 kB / 425.9 MB, free: 9.602 MB / 334.1 MB Notification: Performance of Templates: time 0.002526/0.3616, allocations: 340.5 kB / 426.3 MB, free: 9.27 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.844239557161927]