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.001279/0.001279, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001389/0.001389, allocations: 195.4 kB / 23.71 MB, free: 4.406 MB / 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.349/1.349, allocations: 225.7 MB / 252.5 MB, free: 12.79 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 51.92 kB / 370.4 MB, free: 9.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2446, allocations: 52.17 MB / 422.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002716/0.2473, allocations: 1.446 MB / 424 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002718/0.2476, allocations: 95.69 kB / 424.1 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.831e-05/0.2476, allocations: 0 / 424.1 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.253e-05/0.2477, allocations: 3.938 kB / 424.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.435e-05/0.2477, allocations: 3.938 kB / 424.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.2479, allocations: 27.91 kB / 424.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.932e-05/0.248, allocations: 27.92 kB / 424.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.197e-05/0.2481, allocations: 4 kB / 424.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.103e-05/0.2481, allocations: 11.94 kB / 424.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.136e-05/0.2482, allocations: 15.91 kB / 424.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.2482, allocations: 4 kB / 424.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.316e-05/0.2482, allocations: 4 kB / 424.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.2482, allocations: 4 kB / 424.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.2483, allocations: 11.94 kB / 424.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.497e-05/0.2483, allocations: 21.59 kB / 424.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2483, allocations: 7.984 kB / 424.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2483, allocations: 0 / 424.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.126e-06/0.2484, allocations: 0 / 424.3 MB, free: 12.66 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.0004164/0.2488, allocations: 270.2 kB / 424.5 MB, free: 12.37 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.2488, allocations: 12.03 kB / 424.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.795e-05/0.2489, allocations: 34.75 kB / 424.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.171e-05/0.2489, allocations: 4.875 kB / 424.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.2491, allocations: 134.3 kB / 424.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.2491, allocations: 4.312 kB / 424.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.2491, allocations: 4.375 kB / 424.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002973/0.2494, allocations: 111.8 kB / 424.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.2494, allocations: 7.938 kB / 424.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.2494, allocations: 0 / 424.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.2494, allocations: 0 / 424.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.535e-05/0.2495, allocations: 15.98 kB / 424.8 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001337/0.2496, allocations: 124.8 kB / 425 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.2498, allocations: 54.56 kB / 425 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.436e-05/0.2499, allocations: 20.86 kB / 425 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.2499, allocations: 0 / 425 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.2499, allocations: 42.55 kB / 425.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.2499, allocations: 4 kB / 425.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002055/0.2501, allocations: 73.55 kB / 425.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/0.2502, allocations: 59.34 kB / 425.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.477e-05/0.2503, allocations: 105.8 kB / 425.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.2503, allocations: 25.7 kB / 425.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.774e-05/0.2503, allocations: 88.14 kB / 425.4 MB, free: 11.31 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.539e-06/0.2503, allocations: 0 / 425.4 MB, free: 11.31 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.2504, allocations: 13.72 kB / 425.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.2505, allocations: 318.8 kB / 425.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.206e-05/0.2505, allocations: 8 kB / 425.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.096e-05/0.2506, allocations: 27.44 kB / 425.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.92e-05/0.2506, allocations: 35.38 kB / 425.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2506, allocations: 0 / 425.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.907e-05/0.2507, allocations: 53.62 kB / 425.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.2507, allocations: 10.75 kB / 425.9 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2507, allocations: 8.125 kB / 425.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.2507, allocations: 0 / 425.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.007e-05/0.2508, allocations: 11.92 kB / 425.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/0.2508, allocations: 4 kB / 425.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.707e-05/0.2508, allocations: 256 / 425.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.2508, allocations: 4 kB / 425.9 MB, free: 10.79 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 8.412e-05/0.2509, allocations: 113.8 kB / 426 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.251, allocations: 65.52 kB / 426.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.974e-05/0.251, allocations: 11.98 kB / 426.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.251, allocations: 4 kB / 426.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.251, allocations: 0 / 426.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.251, allocations: 4 kB / 426.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.916e-05/0.2511, allocations: 120.8 kB / 426.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.2511, allocations: 0 / 426.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.859e-05/0.2512, allocations: 11.94 kB / 426.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.2512, allocations: 11.88 kB / 426.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.2512, allocations: 0 / 426.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2512, allocations: 0 / 426.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2512, allocations: 0 / 426.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.2513, allocations: 85.11 kB / 426.3 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.261e-05/0.2513, allocations: 11.89 kB / 426.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.2514, allocations: 3.938 kB / 426.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.416e-05/0.2514, allocations: 3.984 kB / 426.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.084e-06/0.2514, allocations: 0 / 426.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.2514, allocations: 4 kB / 426.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.777e-05/0.2514, allocations: 83.28 kB / 426.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2514, allocations: 0 / 426.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001817/0.2516, allocations: 4 kB / 426.4 MB, free: 10.17 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.0004655/0.2521, allocations: 0.6241 MB / 427.1 MB, free: 9.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001057/0.2522, allocations: 27.92 kB / 427.1 MB, free: 9.492 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2522, allocations: 0 / 427.1 MB, free: 9.492 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.2522, allocations: 0 / 427.1 MB, free: 9.492 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.2524, allocations: 24.39 kB / 427.1 MB, free: 9.469 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.2534, allocations: 1.154 MB / 428.3 MB, free: 8.215 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.911e-05/0.2535, allocations: 71.45 kB / 428.3 MB, free: 8.125 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.127e-05/0.2535, allocations: 0 / 428.3 MB, free: 8.125 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.428e-05/0.2535, allocations: 15.44 kB / 428.3 MB, free: 8.109 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2535, allocations: 0 / 428.3 MB, free: 8.109 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02582/0.2794, allocations: 1.729 MB / 430.1 MB, free: 6.512 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.25, allocations: 7.984 kB / 430.1 MB, free: 6.504 MB / 334.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/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] "" 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: 13.728209706023335]