Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001478/0.001478, allocations: 104.7 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001599/0.001599, allocations: 212.6 kB / 22.99 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.548/1.548, allocations: 230.2 MB / 256.2 MB, free: 8.555 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002877/0.002877, allocations: 67.89 kB / 376.5 MB, free: 3.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4217/0.4245, allocations: 53.32 MB / 429.8 MB, free: 7.586 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002821/0.4274, allocations: 1.465 MB / 431.3 MB, free: 6.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000296/0.4277, allocations: 95.69 kB / 431.3 MB, free: 6.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.732e-05/0.4277, allocations: 0 / 431.3 MB, free: 6.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.902e-05/0.4278, allocations: 3.938 kB / 431.4 MB, free: 6.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.207e-05/0.4278, allocations: 3.938 kB / 431.4 MB, free: 6.012 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002482/0.4281, allocations: 19.97 kB / 431.4 MB, free: 5.992 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.002e-05/0.4281, allocations: 27.92 kB / 431.4 MB, free: 5.965 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.4283, allocations: 15.92 kB / 431.4 MB, free: 5.949 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.047e-05/0.4283, allocations: 4 kB / 431.4 MB, free: 5.945 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.056e-05/0.4283, allocations: 15.92 kB / 431.4 MB, free: 5.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.4284, allocations: 4 kB / 431.4 MB, free: 5.926 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.195e-06/0.4284, allocations: 0 / 431.4 MB, free: 5.926 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.566e-05/0.4284, allocations: 11.92 kB / 431.5 MB, free: 5.914 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.832e-05/0.4284, allocations: 11.94 kB / 431.5 MB, free: 5.902 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.4285, allocations: 25.45 kB / 431.5 MB, free: 5.879 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.4285, allocations: 0 / 431.5 MB, free: 5.879 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4285, allocations: 0 / 431.5 MB, free: 5.879 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.4285, allocations: 3.938 kB / 431.5 MB, free: 5.875 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.0004851/0.429, allocations: 343.1 kB / 431.8 MB, free: 5.492 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.4291, allocations: 12.03 kB / 431.8 MB, free: 5.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.002e-05/0.4291, allocations: 8.891 kB / 431.8 MB, free: 5.473 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.4293, allocations: 180.3 kB / 432 MB, free: 5.258 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.4293, allocations: 384 / 432 MB, free: 5.258 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.4294, allocations: 4.375 kB / 432 MB, free: 5.254 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003216/0.4297, allocations: 115.8 kB / 432.1 MB, free: 5.129 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.4297, allocations: 4.125 kB / 432.1 MB, free: 5.125 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.4297, allocations: 3.938 kB / 432.1 MB, free: 5.121 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.4297, allocations: 0 / 432.1 MB, free: 5.121 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.125e-05/0.4298, allocations: 23.97 kB / 432.2 MB, free: 5.098 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001566/0.4299, allocations: 157.6 kB / 432.3 MB, free: 4.895 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.4301, allocations: 58.53 kB / 432.4 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.885e-05/0.4302, allocations: 20.94 kB / 432.4 MB, free: 4.805 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.4302, allocations: 3.984 kB / 432.4 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.4302, allocations: 30.56 kB / 432.4 MB, free: 4.762 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.4302, allocations: 0 / 432.4 MB, free: 4.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000234/0.4304, allocations: 73.55 kB / 432.5 MB, free: 4.684 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.061e-05/0.4305, allocations: 63.34 kB / 432.6 MB, free: 4.609 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.574e-05/0.4306, allocations: 105.8 kB / 432.7 MB, free: 4.496 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.4306, allocations: 29.7 kB / 432.7 MB, free: 4.461 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.473e-05/0.4307, allocations: 84.14 kB / 432.8 MB, free: 4.375 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.374e-06/0.4307, allocations: 0 / 432.8 MB, free: 4.375 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.4307, allocations: 17.72 kB / 432.8 MB, free: 4.352 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.4309, allocations: 314.8 kB / 433.1 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.288e-05/0.4309, allocations: 4 kB / 433.1 MB, free: 4.031 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.918e-05/0.4309, allocations: 31.44 kB / 433.1 MB, free: 3.988 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.535e-05/0.4309, allocations: 35.38 kB / 433.2 MB, free: 3.941 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4309, allocations: 0 / 433.2 MB, free: 3.941 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.242e-05/0.431, allocations: 61.58 kB / 433.2 MB, free: 3.875 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.431, allocations: 4 kB / 433.2 MB, free: 3.871 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.431, allocations: 7.875 kB / 433.3 MB, free: 3.863 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.4311, allocations: 4.25 kB / 433.3 MB, free: 3.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.768e-05/0.4311, allocations: 7.984 kB / 433.3 MB, free: 3.852 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.4311, allocations: 4 kB / 433.3 MB, free: 3.848 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.004e-05/0.4311, allocations: 4 kB / 433.3 MB, free: 3.844 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-06/0.4311, allocations: 0 / 433.3 MB, free: 3.844 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.12e-05/0.4312, allocations: 118 kB / 433.4 MB, free: 3.719 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.4313, allocations: 53.69 kB / 433.4 MB, free: 3.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.985e-05/0.4314, allocations: 19.77 kB / 433.5 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.4314, allocations: 0 / 433.5 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.4314, allocations: 0 / 433.5 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.4314, allocations: 0 / 433.5 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.4315, allocations: 157.6 kB / 433.6 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4315, allocations: 0 / 433.6 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.323e-05/0.4316, allocations: 11.98 kB / 433.6 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.4316, allocations: 0 / 433.6 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.4316, allocations: 7.938 kB / 433.6 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.4316, allocations: 0 / 433.6 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.4316, allocations: 0 / 433.6 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001544/0.4317, allocations: 85.39 kB / 433.7 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/0.4318, allocations: 81.11 kB / 433.8 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.4318, allocations: 3.938 kB / 433.8 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.171e-05/0.4318, allocations: 0 / 433.8 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-06/0.4318, allocations: 12.03 kB / 433.8 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.4318, allocations: 0 / 433.8 MB, free: 3.191 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.273e-05/0.4319, allocations: 91.2 kB / 433.9 MB, free: 3.102 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4319, allocations: 0 / 433.9 MB, free: 3.102 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001869/0.4321, allocations: 4 kB / 433.9 MB, free: 3.098 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.0001066/0.4322, allocations: 99.25 kB / 434 MB, free: 2.992 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001309/0.4323, allocations: 27.92 kB / 434 MB, free: 2.965 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4323, allocations: 4.25 kB / 434 MB, free: 2.961 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.016e-06/0.4323, allocations: 3.938 kB / 434 MB, free: 2.957 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.4325, allocations: 20.02 kB / 434.1 MB, free: 2.938 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002793/0.4328, allocations: 117.4 kB / 434.2 MB, free: 2.797 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.4331, allocations: 0.6807 MB / 434.8 MB, free: 2.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.339e-05/0.4331, allocations: 0 / 434.8 MB, free: 2.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.587e-05/0.4331, allocations: 11.44 kB / 434.9 MB, free: 2.078 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4331, allocations: 4 kB / 434.9 MB, free: 2.074 MB / 334.1 MB Notification: Performance of Templates: time 0.002633/0.4358, allocations: 336.7 kB / 435.2 MB, free: 1.746 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.97703907545656]