Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.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.001839/0.001839, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002158/0.002158, allocations: 207.5 kB / 20.75 MB, free: 2.312 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.431/1.431, allocations: 230.4 MB / 254 MB, free: 15.02 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.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 59.89 kB / 373 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1043, allocations: 53.37 MB / 426.3 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002767/0.107, allocations: 1.449 MB / 427.8 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001891/0.1072, allocations: 27.91 kB / 427.8 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.361e-05/0.1073, allocations: 3.938 kB / 427.8 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.798e-05/0.1073, allocations: 3.938 kB / 427.8 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.339e-05/0.1074, allocations: 7.938 kB / 427.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.1076, allocations: 15.98 kB / 427.8 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.897e-05/0.1077, allocations: 35.91 kB / 427.9 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.079e-05/0.1078, allocations: 4 kB / 427.9 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.74e-05/0.1079, allocations: 15.92 kB / 427.9 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.724e-05/0.1079, allocations: 11.94 kB / 427.9 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.1079, allocations: 4 kB / 427.9 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.095e-06/0.1079, allocations: 0 / 427.9 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.29e-05/0.108, allocations: 11.98 kB / 427.9 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.536e-05/0.108, allocations: 15.92 kB / 427.9 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.606e-05/0.1081, allocations: 31.72 kB / 428 MB, free: 2.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1081, allocations: 3.938 kB / 428 MB, free: 2.984 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1081, allocations: 4 kB / 428 MB, free: 2.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1081, allocations: 0 / 428 MB, free: 2.98 MB / 350.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.0004646/0.1086, allocations: 343.5 kB / 428.3 MB, free: 2.594 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.1086, allocations: 12.03 kB / 428.3 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.871e-05/0.1087, allocations: 34.73 kB / 428.4 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.936e-05/0.1087, allocations: 8.891 kB / 428.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.1089, allocations: 176.3 kB / 428.5 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.1089, allocations: 384 / 428.5 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.1089, allocations: 8.375 kB / 428.6 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003809/0.1093, allocations: 123.8 kB / 428.7 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1093, allocations: 3.938 kB / 428.7 MB, free: 2.176 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.1093, allocations: 0 / 428.7 MB, free: 2.176 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1093, allocations: 3.938 kB / 428.7 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.1094, allocations: 23.98 kB / 428.7 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001587/0.1096, allocations: 157.7 kB / 428.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.1098, allocations: 58.53 kB / 428.9 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.094e-05/0.1099, allocations: 24.92 kB / 428.9 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.1099, allocations: 0 / 428.9 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.1099, allocations: 34.56 kB / 429 MB, free: 1.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1099, allocations: 3.938 kB / 429 MB, free: 1.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002903/0.1102, allocations: 89.48 kB / 429.1 MB, free: 1.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.1103, allocations: 59.41 kB / 429.1 MB, free: 1.641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.705e-05/0.1103, allocations: 109.8 kB / 429.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.1104, allocations: 25.7 kB / 429.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/0.1104, allocations: 84.14 kB / 429.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.31e-05/0.1104, allocations: 4 kB / 429.3 MB, free: 1.402 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-05/0.1105, allocations: 21.7 kB / 429.4 MB, free: 1.375 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1106, allocations: 310.8 kB / 429.7 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.678e-05/0.1106, allocations: 8 kB / 429.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.773e-05/0.1107, allocations: 31.42 kB / 429.7 MB, free: 1.012 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.298e-05/0.1107, allocations: 35.38 kB / 429.7 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1107, allocations: 0 / 429.7 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.07e-05/0.1108, allocations: 73.52 kB / 429.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1108, allocations: 7.938 kB / 429.8 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.1108, allocations: 0 / 429.8 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1108, allocations: 4 kB / 429.8 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.528e-05/0.1109, allocations: 8 kB / 429.8 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1109, allocations: 0 / 429.8 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.787e-05/0.1109, allocations: 0 / 429.8 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.1109, allocations: 7.938 kB / 429.8 MB, free: 0.8594 MB / 350.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: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.088e-05/0.111, allocations: 122 kB / 430 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/0.1112, allocations: 73.5 kB / 430 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.66e-05/0.1112, allocations: 3.906 kB / 430 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1112, allocations: 4 kB / 430 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.1112, allocations: 0 / 430 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1112, allocations: 0 / 430 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.1113, allocations: 157.7 kB / 430.2 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1113, allocations: 0 / 430.2 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.996e-05/0.1114, allocations: 8 kB / 430.2 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.1114, allocations: 7.875 kB / 430.2 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.1114, allocations: 4 kB / 430.2 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.1114, allocations: 3.984 kB / 430.2 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1114, allocations: 0 / 430.2 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.1116, allocations: 93.05 kB / 430.3 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.877e-05/0.1116, allocations: 81.06 kB / 430.4 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.1117, allocations: 8.594 kB / 430.4 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.631e-05/0.1117, allocations: 7.984 kB / 430.4 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.405e-06/0.1117, allocations: 0 / 430.4 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.1117, allocations: 8 kB / 430.4 MB, free: 180 kB / 350.1 MB Notification: Performance of sorting global known variables: time 4.562e-05/0.1117, allocations: 83.28 kB / 430.5 MB, free: 96 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1117, allocations: 4 kB / 430.5 MB, free: 92 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001867/0.1119, allocations: 4 kB / 430.5 MB, free: 88 kB / 350.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: 4 (assignClock1.u,assignClock1.y,step.y,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 0.0006129/0.1125, allocations: 0.6476 MB / 431.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001395/0.1127, allocations: 31.92 kB / 431.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1127, allocations: 0 / 431.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5e-07/0.1127, allocations: 0 / 431.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.113, allocations: 31.94 kB / 431.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.114, allocations: 1.178 MB / 432.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.1143, allocations: 0.6768 MB / 433.1 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.212e-05/0.1143, allocations: 4 kB / 433.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/0.1144, allocations: 11.44 kB / 433.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1144, allocations: 3.938 kB / 433.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0252/0.1396, allocations: 1.386 MB / 434.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.438/7.578, allocations: 6.75 kB / 434.5 MB, free: 12.09 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199561 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.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:time,periodicClock1.period,previous(step.counter),assignClock1.u,assignClock1.y,step.counter [Calling sys.exit(0), Time elapsed: 10.230856386013329]