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.001603/0.001603, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.00205/0.00205, allocations: 215.1 kB / 23.75 MB, free: 4.672 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.471/1.471, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.001817/0.001817, allocations: 59.89 kB / 377.8 MB, free: 3.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2399, allocations: 53.42 MB / 431.2 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002636/0.2425, allocations: 1.452 MB / 432.6 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002655/0.2428, allocations: 95.69 kB / 432.7 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.859e-05/0.2429, allocations: 3.938 kB / 432.7 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.563e-05/0.2429, allocations: 0 / 432.7 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.476e-05/0.2429, allocations: 11.94 kB / 432.7 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.2432, allocations: 19.91 kB / 432.8 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.323e-05/0.2432, allocations: 31.86 kB / 432.8 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.578e-05/0.2433, allocations: 8 kB / 432.8 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.908e-05/0.2434, allocations: 11.92 kB / 432.8 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.135e-05/0.2434, allocations: 11.94 kB / 432.8 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.2434, allocations: 0 / 432.8 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.237e-06/0.2434, allocations: 4 kB / 432.8 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.2434, allocations: 7.938 kB / 432.8 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.52e-05/0.2435, allocations: 19.91 kB / 432.9 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.662e-05/0.2436, allocations: 27.28 kB / 432.9 MB, free: 4.984 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2436, allocations: 4 kB / 432.9 MB, free: 4.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.2436, allocations: 0 / 432.9 MB, free: 4.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.2436, allocations: 0 / 432.9 MB, free: 4.98 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.000383/0.2439, allocations: 263.3 kB / 433.1 MB, free: 4.691 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.244, allocations: 15.97 kB / 433.2 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.382e-05/0.244, allocations: 34.73 kB / 433.2 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.089e-05/0.244, allocations: 4.891 kB / 433.2 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.2442, allocations: 122.4 kB / 433.3 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.2443, allocations: 8.359 kB / 433.3 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.2443, allocations: 4.375 kB / 433.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.2446, allocations: 111.8 kB / 433.4 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.2446, allocations: 3.938 kB / 433.4 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.2446, allocations: 0 / 433.4 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.2446, allocations: 11.98 kB / 433.5 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.998e-05/0.2447, allocations: 15.98 kB / 433.5 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.2448, allocations: 132.7 kB / 433.6 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.245, allocations: 50.48 kB / 433.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.827e-05/0.245, allocations: 24.92 kB / 433.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.245, allocations: 0 / 433.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.2451, allocations: 38.56 kB / 433.7 MB, free: 4.016 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.2451, allocations: 0 / 433.7 MB, free: 4.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002127/0.2453, allocations: 69.61 kB / 433.8 MB, free: 3.941 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.2453, allocations: 59.39 kB / 433.8 MB, free: 3.871 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.154e-05/0.2454, allocations: 101.9 kB / 433.9 MB, free: 3.762 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.2454, allocations: 25.7 kB / 434 MB, free: 3.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.757e-05/0.2455, allocations: 96.06 kB / 434.1 MB, free: 3.633 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.065e-06/0.2455, allocations: 0 / 434.1 MB, free: 3.633 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.21e-05/0.2455, allocations: 17.72 kB / 434.1 MB, free: 3.609 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.2456, allocations: 310.8 kB / 434.4 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.423e-05/0.2457, allocations: 4 kB / 434.4 MB, free: 3.293 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.882e-05/0.2457, allocations: 31.42 kB / 434.4 MB, free: 3.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.678e-05/0.2457, allocations: 39.38 kB / 434.5 MB, free: 3.199 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2457, allocations: 0 / 434.5 MB, free: 3.199 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.154e-05/0.2458, allocations: 57.58 kB / 434.5 MB, free: 3.137 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.2458, allocations: 11.88 kB / 434.5 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.2458, allocations: 0 / 434.5 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.2459, allocations: 8.125 kB / 434.5 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.76e-05/0.2459, allocations: 4 kB / 434.5 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.2459, allocations: 3.938 kB / 434.5 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.767e-05/0.2459, allocations: 4 kB / 434.5 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-06/0.2459, allocations: 3.938 kB / 434.5 MB, free: 3.102 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.347e-05/0.246, allocations: 117.8 kB / 434.7 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.2461, allocations: 57.62 kB / 434.7 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.744e-05/0.2462, allocations: 8 kB / 434.7 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2462, allocations: 4 kB / 434.7 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.2462, allocations: 0 / 434.7 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.2462, allocations: 0 / 434.7 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.2463, allocations: 128.7 kB / 434.9 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2463, allocations: 0 / 434.9 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.668e-05/0.2463, allocations: 8 kB / 434.9 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.2463, allocations: 3.938 kB / 434.9 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.2463, allocations: 256 / 434.9 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2463, allocations: 3.938 kB / 434.9 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.2463, allocations: 8 kB / 434.9 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.2465, allocations: 93.38 kB / 435 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.896e-06/0.2465, allocations: 3.938 kB / 435 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.2465, allocations: 7.922 kB / 435 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.503e-05/0.2465, allocations: 4 kB / 435 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.943e-06/0.2465, allocations: 0 / 435 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.2465, allocations: 0 / 435 MB, free: 2.578 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.35e-05/0.2466, allocations: 83.28 kB / 435.1 MB, free: 2.496 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2466, allocations: 0 / 435.1 MB, free: 2.496 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001816/0.2468, allocations: 8 kB / 435.1 MB, free: 2.488 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.0004594/0.2472, allocations: 0.635 MB / 435.7 MB, free: 1.828 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001161/0.2473, allocations: 28.11 kB / 435.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2473, allocations: 4.062 kB / 435.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.7e-07/0.2473, allocations: 0 / 435.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.2475, allocations: 16.03 kB / 435.8 MB, free: 1.781 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.2486, allocations: 1.158 MB / 436.9 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.249, allocations: 0.6807 MB / 437.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.318e-05/0.249, allocations: 0 / 437.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.846e-05/0.249, allocations: 11.44 kB / 437.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.249, allocations: 0 / 437.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0269/0.2759, allocations: 1.359 MB / 439 MB, free: 14.56 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.93, allocations: 11.23 kB / 439 MB, free: 14.55 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 & 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: 13.563547981000738]