Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 111.1 kB / 20.44 MB, free: 1.34 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 208.2 kB / 23.72 MB, free: 4.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.39/1.39, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 43.94 kB / 377.7 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2501, allocations: 53.37 MB / 431.1 MB, free: 6.805 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002652/0.2528, allocations: 1.464 MB / 432.5 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002719/0.253, allocations: 91.42 kB / 432.6 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.837e-05/0.2531, allocations: 4 kB / 432.6 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.878e-05/0.2531, allocations: 3.984 kB / 432.6 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.015e-05/0.2531, allocations: 3.938 kB / 432.6 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.2534, allocations: 31.84 kB / 432.7 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.541e-05/0.2535, allocations: 23.94 kB / 432.7 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.2536, allocations: 7.984 kB / 432.7 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.4e-05/0.2536, allocations: 15.92 kB / 432.7 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.08e-05/0.2536, allocations: 15.92 kB / 432.7 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.2536, allocations: 0 / 432.7 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.086e-06/0.2537, allocations: 4 kB / 432.7 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.2537, allocations: 0 / 432.7 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.2537, allocations: 11.94 kB / 432.7 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.088e-05/0.2538, allocations: 29.81 kB / 432.8 MB, free: 5.102 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2538, allocations: 0 / 432.8 MB, free: 5.102 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2538, allocations: 0 / 432.8 MB, free: 5.102 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.2538, allocations: 4 kB / 432.8 MB, free: 5.098 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.0004008/0.2542, allocations: 281 kB / 433 MB, free: 4.793 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.2542, allocations: 8.031 kB / 433.1 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.164e-05/0.2543, allocations: 30.75 kB / 433.1 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.423e-05/0.2543, allocations: 8.891 kB / 433.1 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.2545, allocations: 122.4 kB / 433.2 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.2545, allocations: 4.375 kB / 433.2 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.2545, allocations: 384 / 433.2 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.2548, allocations: 111.9 kB / 433.3 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.2548, allocations: 3.938 kB / 433.3 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.2548, allocations: 4 kB / 433.3 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.2548, allocations: 3.984 kB / 433.3 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.205e-05/0.2549, allocations: 15.98 kB / 433.4 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001505/0.255, allocations: 124.7 kB / 433.5 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.2552, allocations: 62.42 kB / 433.5 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.559e-05/0.2553, allocations: 20.92 kB / 433.6 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.2553, allocations: 8 kB / 433.6 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.2553, allocations: 30.56 kB / 433.6 MB, free: 4.137 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2553, allocations: 0 / 433.6 MB, free: 4.137 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002147/0.2555, allocations: 69.61 kB / 433.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.2556, allocations: 63.33 kB / 433.7 MB, free: 3.988 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.2557, allocations: 101.9 kB / 433.8 MB, free: 3.879 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.2557, allocations: 25.7 kB / 433.9 MB, free: 3.848 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.711e-05/0.2558, allocations: 92.12 kB / 433.9 MB, free: 3.754 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.26e-06/0.2558, allocations: 0 / 433.9 MB, free: 3.754 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/0.2558, allocations: 17.72 kB / 434 MB, free: 3.73 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.2559, allocations: 314.8 kB / 434.3 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.317e-06/0.2559, allocations: 0 / 434.3 MB, free: 3.414 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.83e-05/0.256, allocations: 31.61 kB / 434.3 MB, free: 3.371 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.647e-05/0.256, allocations: 35.62 kB / 434.3 MB, free: 3.324 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.256, allocations: 0 / 434.3 MB, free: 3.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.402e-05/0.2561, allocations: 65.67 kB / 434.4 MB, free: 3.254 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.2561, allocations: 15.88 kB / 434.4 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.2561, allocations: 3.984 kB / 434.4 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.2561, allocations: 0 / 434.4 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.181e-05/0.2562, allocations: 11.94 kB / 434.4 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.2562, allocations: 0 / 434.4 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.796e-05/0.2562, allocations: 0 / 434.4 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.2562, allocations: 4 kB / 434.4 MB, free: 3.219 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.61e-05/0.2563, allocations: 122 kB / 434.6 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.2564, allocations: 53.62 kB / 434.6 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.134e-05/0.2565, allocations: 12 kB / 434.6 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2565, allocations: 0 / 434.6 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2565, allocations: 0 / 434.6 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.2565, allocations: 0 / 434.6 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.2566, allocations: 124.8 kB / 434.7 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.2566, allocations: 0 / 434.7 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.276e-05/0.2566, allocations: 15.92 kB / 434.8 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.2566, allocations: 3.938 kB / 434.8 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.2566, allocations: 4 kB / 434.8 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2566, allocations: 0 / 434.8 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2566, allocations: 0 / 434.8 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.2568, allocations: 89.06 kB / 434.8 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.023e-05/0.2568, allocations: 3.938 kB / 434.9 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.2568, allocations: 3.938 kB / 434.9 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.562e-05/0.2568, allocations: 4 kB / 434.9 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-06/0.2568, allocations: 3.938 kB / 434.9 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.2568, allocations: 0 / 434.9 MB, free: 2.703 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.911e-05/0.2569, allocations: 87.27 kB / 434.9 MB, free: 2.617 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2569, allocations: 4 kB / 435 MB, free: 2.613 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001825/0.2571, allocations: 4 kB / 435 MB, free: 2.609 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.0004501/0.2575, allocations: 0.6359 MB / 435.6 MB, free: 1.945 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001155/0.2576, allocations: 23.92 kB / 435.6 MB, free: 1.922 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2576, allocations: 0 / 435.6 MB, free: 1.922 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.2576, allocations: 0 / 435.6 MB, free: 1.922 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.2578, allocations: 22.42 kB / 435.6 MB, free: 1.902 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.2589, allocations: 1.15 MB / 436.8 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.414e-05/0.259, allocations: 75.33 kB / 436.9 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.484e-05/0.259, allocations: 0 / 436.9 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.599e-05/0.259, allocations: 7.859 kB / 436.9 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.259, allocations: 0 / 436.9 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02696/0.286, allocations: 1.764 MB / 438.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.19, allocations: 6.562 kB / 438.6 MB, free: 14.91 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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.758389000984607]