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.001872/0.001872, allocations: 131.4 kB / 17.8 MB, free: 5.219 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.002182/0.002182, allocations: 211.6 kB / 20.75 MB, free: 2.27 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.522/1.522, allocations: 230.4 MB / 254 MB, free: 15.16 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 67.91 kB / 373 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1064, allocations: 53.37 MB / 426.3 MB, free: 4.691 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002757/0.1091, allocations: 1.446 MB / 427.8 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002925/0.1094, allocations: 103.7 kB / 427.9 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.762e-05/0.1095, allocations: 3.938 kB / 427.9 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.737e-05/0.1095, allocations: 0 / 427.9 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.117e-05/0.1096, allocations: 7.938 kB / 427.9 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.1098, allocations: 30.91 kB / 427.9 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.149e-05/0.1099, allocations: 27.92 kB / 428 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.324e-05/0.11, allocations: 4 kB / 428 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.958e-05/0.11, allocations: 11.94 kB / 428 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.753e-05/0.1101, allocations: 15.92 kB / 428 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.1101, allocations: 0 / 428 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.015e-05/0.1101, allocations: 8 kB / 428 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.558e-05/0.1101, allocations: 0 / 428 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.544e-05/0.1102, allocations: 15.88 kB / 428 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.62e-05/0.1103, allocations: 31.83 kB / 428.1 MB, free: 2.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.1103, allocations: 4 kB / 428.1 MB, free: 2.984 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.319e-06/0.1103, allocations: 3.984 kB / 428.1 MB, free: 2.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1103, allocations: 0 / 428.1 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.0004503/0.1107, allocations: 335.4 kB / 428.4 MB, free: 2.602 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.1108, allocations: 8.031 kB / 428.4 MB, free: 2.594 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.238e-05/0.1108, allocations: 38.75 kB / 428.4 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.552e-05/0.1108, allocations: 4.891 kB / 428.4 MB, free: 2.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.1111, allocations: 188.3 kB / 428.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.532e-06/0.1111, allocations: 4.312 kB / 428.6 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.1111, allocations: 4.375 kB / 428.6 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003191/0.1114, allocations: 103.9 kB / 428.7 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.1114, allocations: 3.938 kB / 428.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.1114, allocations: 4 kB / 428.7 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1114, allocations: 0 / 428.7 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.912e-05/0.1115, allocations: 15.98 kB / 428.8 MB, free: 2.176 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001584/0.1117, allocations: 161.6 kB / 428.9 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.1118, allocations: 58.53 kB / 429 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.027e-05/0.1119, allocations: 20.89 kB / 429 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.1119, allocations: 0 / 429 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.112, allocations: 34.56 kB / 429 MB, free: 1.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.112, allocations: 0 / 429 MB, free: 1.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002242/0.1122, allocations: 69.61 kB / 429.1 MB, free: 1.762 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.1122, allocations: 55.39 kB / 429.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.143e-05/0.1123, allocations: 117.8 kB / 429.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.1123, allocations: 25.7 kB / 429.3 MB, free: 1.539 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.712e-05/0.1124, allocations: 96.06 kB / 429.4 MB, free: 1.441 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.623e-06/0.1124, allocations: 0 / 429.4 MB, free: 1.441 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.1124, allocations: 17.72 kB / 429.4 MB, free: 1.418 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1126, allocations: 310.8 kB / 429.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.62e-05/0.1126, allocations: 11.98 kB / 429.7 MB, free: 1.094 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.202e-05/0.1126, allocations: 27.44 kB / 429.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.72e-05/0.1126, allocations: 35.38 kB / 429.8 MB, free: 1.008 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1126, allocations: 0 / 429.8 MB, free: 1.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.397e-05/0.1127, allocations: 61.61 kB / 429.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.1128, allocations: 11.94 kB / 429.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.1128, allocations: 0 / 429.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.1128, allocations: 0 / 429.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.893e-05/0.1128, allocations: 8 kB / 429.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.1128, allocations: 3.938 kB / 429.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.718e-05/0.1129, allocations: 0 / 429.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-06/0.1129, allocations: 4 kB / 429.9 MB, free: 0.9141 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: 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 8.698e-05/0.1129, allocations: 118.1 kB / 430 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.1131, allocations: 58 kB / 430 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.036e-05/0.1131, allocations: 7.906 kB / 430 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.1131, allocations: 12.03 kB / 430.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.1131, allocations: 0 / 430.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1131, allocations: 3.984 kB / 430.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.1132, allocations: 157.6 kB / 430.2 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1132, allocations: 0 / 430.2 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.069e-05/0.1133, allocations: 8 kB / 430.2 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1133, allocations: 7.875 kB / 430.2 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.1133, allocations: 3.938 kB / 430.2 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1133, allocations: 7.984 kB / 430.2 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1133, allocations: 0 / 430.2 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.1134, allocations: 81.08 kB / 430.3 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.077e-05/0.1135, allocations: 81.09 kB / 430.4 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.1135, allocations: 7.938 kB / 430.4 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.631e-05/0.1135, allocations: 4 kB / 430.4 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.826e-06/0.1135, allocations: 0 / 430.4 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.1135, allocations: 8 kB / 430.4 MB, free: 252 kB / 350.1 MB Notification: Performance of sorting global known variables: time 4.238e-05/0.1136, allocations: 79.28 kB / 430.5 MB, free: 172 kB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1136, allocations: 3.938 kB / 430.5 MB, free: 168 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001853/0.1137, allocations: 4 kB / 430.5 MB, free: 164 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: 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.0004741/0.1142, allocations: 0.6318 MB / 431.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000119/0.1143, allocations: 23.92 kB / 431.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1143, allocations: 0 / 431.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.495e-06/0.1143, allocations: 4 kB / 431.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.1146, allocations: 20.5 kB / 431.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.1156, allocations: 1.15 MB / 432.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.1159, allocations: 0.6807 MB / 433 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.238e-05/0.1159, allocations: 0 / 433 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.921e-05/0.1159, allocations: 19.42 kB / 433 MB, free: 13.48 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1159, allocations: 0 / 433 MB, free: 13.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02867/0.1446, allocations: 1.245 MB / 434.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.395/7.54, allocations: 11.44 kB / 434.3 MB, free: 12.35 MB / 366.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_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_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.csv","/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:time,periodicClock1.period,step.startTime,assignClock1.u,assignClock1.y,step.y [Calling sys.exit(0), Time elapsed: 10.34863264602609]