Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.0009158/0.0009158, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008899/0.0008899, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8941/0.8941, allocations: 177 MB / 204.1 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] 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.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.634e-06/1.634e-06, allocations: 3.938 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.212e-05/1.376e-05, allocations: 2.984 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.001685/0.001699, allocations: 1.447 MB / 326 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001515/0.00185, allocations: 23.94 kB / 326 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.397e-05/0.001904, allocations: 3.938 kB / 326 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.181e-05/0.001936, allocations: 3.984 kB / 326 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.252e-05/0.001968, allocations: 3.938 kB / 326 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.002202, allocations: 27.91 kB / 326 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.809e-05/0.00228, allocations: 31.91 kB / 326.1 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.124e-05/0.002371, allocations: 0 / 326.1 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.84e-05/0.002419, allocations: 19.98 kB / 326.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.761e-05/0.002457, allocations: 7.938 kB / 326.1 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.00248, allocations: 0 / 326.1 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.307e-06/0.002489, allocations: 8 kB / 326.1 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.002507, allocations: 7.984 kB / 326.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.516e-05/0.002532, allocations: 15.98 kB / 326.1 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.93e-05/0.002621, allocations: 31.89 kB / 326.1 MB, free: 14.26 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.002623, allocations: 0 / 326.1 MB, free: 14.26 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.002624, allocations: 0 / 326.1 MB, free: 14.26 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.002628, allocations: 0 / 326.1 MB, free: 14.26 MB / 298.7 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.0003701/0.002998, allocations: 262.2 kB / 326.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.003043, allocations: 15.98 kB / 326.4 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.698e-05/0.00308, allocations: 38.73 kB / 326.4 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.468e-05/0.003105, allocations: 4.938 kB / 326.5 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.003292, allocations: 117.7 kB / 326.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.003317, allocations: 8.359 kB / 326.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.00333, allocations: 4.375 kB / 326.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.003598, allocations: 111.9 kB / 326.7 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.003607, allocations: 192 / 326.7 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.003615, allocations: 384 / 326.7 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.003623, allocations: 4.125 kB / 326.7 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.911e-05/0.003692, allocations: 27.92 kB / 326.7 MB, free: 13.6 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001348/0.003827, allocations: 124.8 kB / 326.8 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.003935, allocations: 46.59 kB / 326.9 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.459e-05/0.00398, allocations: 24.88 kB / 326.9 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.00399, allocations: 7.875 kB / 326.9 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.004011, allocations: 34.56 kB / 327 MB, free: 13.3 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.004012, allocations: 0 / 327 MB, free: 13.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001926/0.004204, allocations: 81.55 kB / 327 MB, free: 13.21 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.004258, allocations: 59.34 kB / 327.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.402e-05/0.004322, allocations: 109.8 kB / 327.2 MB, free: 13.03 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.004333, allocations: 29.7 kB / 327.2 MB, free: 12.99 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.937e-05/0.004362, allocations: 80.14 kB / 327.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.234e-05/0.004374, allocations: 4 kB / 327.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.477e-05/0.004399, allocations: 13.72 kB / 327.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.489e-05/0.004484, allocations: 318.8 kB / 327.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.105e-06/0.004492, allocations: 0 / 327.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.004e-06/0.004499, allocations: 8 kB / 327.6 MB, free: 12.56 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.027e-05/0.004519, allocations: 8.859 kB / 327.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.004521, allocations: 0 / 327.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.168e-05/0.004563, allocations: 41.73 kB / 327.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.004576, allocations: 8 kB / 327.7 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.004581, allocations: 0 / 327.7 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.004594, allocations: 3.984 kB / 327.7 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.577e-05/0.00464, allocations: 7.938 kB / 327.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.004646, allocations: 3.984 kB / 327.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.556e-06/0.004655, allocations: 0 / 327.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-06/0.004658, allocations: 0 / 327.7 MB, free: 12.48 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.57e-05/0.004714, allocations: 109.8 kB / 327.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.059e-05/0.004784, allocations: 69.56 kB / 327.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.869e-05/0.004803, allocations: 7.688 kB / 327.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.004804, allocations: 4 kB / 327.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.00481, allocations: 7.938 kB / 327.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.004813, allocations: 0 / 327.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.552e-05/0.004878, allocations: 128.7 kB / 328 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.004879, allocations: 0 / 328 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.34e-05/0.004893, allocations: 4 kB / 328 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-06/0.004894, allocations: 0 / 328 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.004899, allocations: 0 / 328 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.004901, allocations: 0 / 328 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.004904, allocations: 7.922 kB / 328 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.33e-05/0.004987, allocations: 85.11 kB / 328.1 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.585e-06/0.004995, allocations: 7.953 kB / 328.1 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.005007, allocations: 8 kB / 328.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.169e-05/0.005019, allocations: 256 / 328.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-06/0.005022, allocations: 7.875 kB / 328.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.005027, allocations: 8 kB / 328.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.569e-05/0.005053, allocations: 87.2 kB / 328.2 MB, free: 11.86 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005053, allocations: 0 / 328.2 MB, free: 11.86 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001169/0.00517, allocations: 4 kB / 328.3 MB, free: 11.86 MB / 298.7 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.0002954/0.005465, allocations: 0.6323 MB / 328.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.728e-05/0.005542, allocations: 27.98 kB / 328.9 MB, free: 11.17 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.005543, allocations: 0 / 328.9 MB, free: 11.17 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-07/0.005544, allocations: 0 / 328.9 MB, free: 11.17 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.005705, allocations: 32.73 kB / 328.9 MB, free: 11.14 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006404/0.006346, allocations: 1.098 MB / 330 MB, free: 9.957 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.629e-05/0.006392, allocations: 67.33 kB / 330.1 MB, free: 9.871 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.491e-05/0.006407, allocations: 0 / 330.1 MB, free: 9.871 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.258e-05/0.00645, allocations: 16.5 kB / 330.1 MB, free: 9.855 MB / 298.7 MB Notification: Performance of SimCode: time 9.62e-07/0.00645, allocations: 4.094 kB / 330.1 MB, free: 9.852 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01327/0.01972, allocations: 1.918 MB / 332 MB, free: 8.035 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.566/6.585, allocations: 11.98 kB / 332.1 MB, free: 8.023 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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_BooleanSignals_TickBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.csv: Error: Error opening file: Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,assignClock1.y Variables in the result: [Calling sys.exit(0), Time elapsed: 8.354727148078382]