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.001408/0.001408, allocations: 109.1 kB / 21.22 MB, free: 0.7383 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.001569/0.001569, allocations: 210.7 kB / 24.53 MB, free: 4.098 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.499/1.499, allocations: 230.5 MB / 258.2 MB, free: 8.016 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 59.89 kB / 378.6 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2996, allocations: 53.42 MB / 432 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.00303/0.3027, allocations: 1.456 MB / 433.4 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003005/0.303, allocations: 103.7 kB / 433.5 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.922e-05/0.303, allocations: 7.938 kB / 433.5 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.891e-05/0.3031, allocations: 0 / 433.5 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.917e-05/0.3031, allocations: 3.938 kB / 433.5 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.3034, allocations: 23.91 kB / 433.6 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.3035, allocations: 27.88 kB / 433.6 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.3036, allocations: 11.98 kB / 433.6 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.929e-05/0.3036, allocations: 4 kB / 433.6 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.36e-05/0.3037, allocations: 11.92 kB / 433.6 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.3037, allocations: 4 kB / 433.6 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.648e-06/0.3037, allocations: 0 / 433.6 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.054e-05/0.3037, allocations: 15.94 kB / 433.6 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.332e-05/0.3038, allocations: 11.94 kB / 433.6 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.3039, allocations: 27.55 kB / 433.7 MB, free: 4.973 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3039, allocations: 0 / 433.7 MB, free: 4.973 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3039, allocations: 3.938 kB / 433.7 MB, free: 4.969 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.3039, allocations: 0 / 433.7 MB, free: 4.969 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.0004912/0.3044, allocations: 271.5 kB / 433.9 MB, free: 4.672 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.3044, allocations: 11.97 kB / 434 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.67e-05/0.3044, allocations: 4.188 kB / 434 MB, free: 4.656 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.1e-05/0.3045, allocations: 34.75 kB / 434 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.771e-05/0.3045, allocations: 4.891 kB / 434 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.3048, allocations: 126.4 kB / 434.1 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.3048, allocations: 384 / 434.1 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.3048, allocations: 4.375 kB / 434.1 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003673/0.3052, allocations: 115.6 kB / 434.2 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3052, allocations: 3.984 kB / 434.2 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.3052, allocations: 0 / 434.2 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3052, allocations: 0 / 434.2 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.862e-05/0.3053, allocations: 19.98 kB / 434.3 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001624/0.3054, allocations: 128.7 kB / 434.4 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.3056, allocations: 58.48 kB / 434.4 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.259e-05/0.3057, allocations: 24.92 kB / 434.5 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.3057, allocations: 3.984 kB / 434.5 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.3057, allocations: 34.5 kB / 434.5 MB, free: 4 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.3057, allocations: 0 / 434.5 MB, free: 4 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002272/0.3059, allocations: 65.67 kB / 434.6 MB, free: 3.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.123e-05/0.306, allocations: 59.59 kB / 434.6 MB, free: 3.859 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.918e-05/0.3061, allocations: 105.8 kB / 434.7 MB, free: 3.746 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.3061, allocations: 29.7 kB / 434.8 MB, free: 3.711 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/0.3062, allocations: 88.08 kB / 434.8 MB, free: 3.621 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.955e-06/0.3062, allocations: 0 / 434.8 MB, free: 3.621 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.3062, allocations: 17.72 kB / 434.9 MB, free: 3.598 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3064, allocations: 314.8 kB / 435.2 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.379e-05/0.3064, allocations: 4 kB / 435.2 MB, free: 3.277 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.736e-05/0.3064, allocations: 35.42 kB / 435.2 MB, free: 3.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.742e-05/0.3065, allocations: 39.36 kB / 435.2 MB, free: 3.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.3065, allocations: 0 / 435.2 MB, free: 3.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.877e-05/0.3065, allocations: 57.59 kB / 435.3 MB, free: 3.117 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.3066, allocations: 10.12 kB / 435.3 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.3066, allocations: 3.984 kB / 435.3 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.3066, allocations: 4 kB / 435.3 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.057e-05/0.3066, allocations: 4 kB / 435.3 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.3066, allocations: 3.938 kB / 435.3 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.788e-05/0.3067, allocations: 7.938 kB / 435.3 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-06/0.3067, allocations: 0 / 435.3 MB, free: 3.086 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.447e-05/0.3068, allocations: 118 kB / 435.5 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.3069, allocations: 65.55 kB / 435.5 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.385e-05/0.3069, allocations: 8 kB / 435.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3069, allocations: 0 / 435.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.3069, allocations: 0 / 435.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.3069, allocations: 0 / 435.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.307, allocations: 124.8 kB / 435.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.307, allocations: 0 / 435.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.232e-05/0.3071, allocations: 11.98 kB / 435.7 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.3071, allocations: 3.938 kB / 435.7 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.597e-06/0.3071, allocations: 4 kB / 435.7 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.3071, allocations: 3.938 kB / 435.7 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.3071, allocations: 4 kB / 435.7 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.3073, allocations: 85.06 kB / 435.8 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.176e-05/0.3073, allocations: 7.875 kB / 435.8 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.3073, allocations: 0 / 435.8 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.654e-05/0.3073, allocations: 8.25 kB / 435.8 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-06/0.3073, allocations: 4 kB / 435.8 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/0.3073, allocations: 4 kB / 435.8 MB, free: 2.559 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.652e-05/0.3074, allocations: 83.27 kB / 435.9 MB, free: 2.477 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3074, allocations: 0 / 435.9 MB, free: 2.477 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00018/0.3076, allocations: 4 kB / 435.9 MB, free: 2.473 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.0007292/0.3083, allocations: 0.6319 MB / 436.5 MB, free: 1.812 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001346/0.3084, allocations: 27.92 kB / 436.5 MB, free: 1.785 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3084, allocations: 0 / 436.5 MB, free: 1.785 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.3084, allocations: 0 / 436.5 MB, free: 1.785 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.3087, allocations: 20.02 kB / 436.5 MB, free: 1.766 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.3098, allocations: 1.151 MB / 437.7 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.3101, allocations: 0.6807 MB / 438.4 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.532e-05/0.3102, allocations: 7.938 kB / 438.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.3102, allocations: 11.44 kB / 438.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3102, allocations: 3.938 kB / 438.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0213/0.3315, allocations: 1.392 MB / 439.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.14, allocations: 4.062 kB / 439.8 MB, free: 14.52 MB / 350.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/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] "" Variables in the reference:time,assignClock1.y Variables in the result:assignClock1.u,assignClock1.y,periodicClock1.period,periodicClock1.useSolver,step.height,step.offset,step.startTime,step.y,time [Calling sys.exit(0), Time elapsed: 13.798926215036772]