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.001804/0.001804, allocations: 116.7 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.002041/0.002041, allocations: 213.6 kB / 23.74 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.452/1.452, allocations: 230.5 MB / 257.4 MB, free: 7.988 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.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 0.001835/0.001835, allocations: 59.89 kB / 377.8 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.247, allocations: 53.41 MB / 431.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002666/0.2496, allocations: 1.44 MB / 432.6 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002102/0.2498, allocations: 39.84 kB / 432.7 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.833e-05/0.2499, allocations: 0 / 432.7 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.038e-05/0.2499, allocations: 7.938 kB / 432.7 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.245e-05/0.25, allocations: 0 / 432.7 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002613/0.2502, allocations: 23.91 kB / 432.7 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.503e-05/0.2503, allocations: 27.98 kB / 432.7 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.752e-05/0.2504, allocations: 0 / 432.7 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.1e-05/0.2505, allocations: 19.92 kB / 432.7 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.6e-05/0.2505, allocations: 7.938 kB / 432.7 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.2505, allocations: 4 kB / 432.7 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.899e-06/0.2505, allocations: 4 kB / 432.7 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.375e-05/0.2506, allocations: 11.97 kB / 432.8 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.337e-05/0.2506, allocations: 15.88 kB / 432.8 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.617e-05/0.2507, allocations: 35.64 kB / 432.8 MB, free: 5.039 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.2507, allocations: 0 / 432.8 MB, free: 5.039 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2507, allocations: 0 / 432.8 MB, free: 5.039 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.2507, allocations: 4 kB / 432.8 MB, free: 5.035 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.0004071/0.2511, allocations: 258.9 kB / 433.1 MB, free: 4.754 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.2512, allocations: 8.031 kB / 433.1 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.892e-05/0.2512, allocations: 38.75 kB / 433.1 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.086e-05/0.2512, allocations: 0.9375 kB / 433.1 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.2514, allocations: 126.4 kB / 433.2 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.2514, allocations: 4.375 kB / 433.2 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.2514, allocations: 4.375 kB / 433.2 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003235/0.2518, allocations: 115.8 kB / 433.4 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.2518, allocations: 15.81 kB / 433.4 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.2518, allocations: 3.984 kB / 433.4 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.2518, allocations: 0 / 433.4 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.2519, allocations: 27.97 kB / 433.4 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/0.252, allocations: 124.8 kB / 433.5 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.2522, allocations: 50.55 kB / 433.6 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.017e-05/0.2523, allocations: 20.92 kB / 433.6 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.2523, allocations: 4 kB / 433.6 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.2523, allocations: 38.5 kB / 433.6 MB, free: 4.074 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.2523, allocations: 4 kB / 433.6 MB, free: 4.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002628/0.2526, allocations: 77.56 kB / 433.7 MB, free: 3.988 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.2526, allocations: 51.41 kB / 433.8 MB, free: 3.926 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.304e-05/0.2527, allocations: 109.8 kB / 433.9 MB, free: 3.809 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.2527, allocations: 25.7 kB / 433.9 MB, free: 3.777 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.427e-05/0.2528, allocations: 84.14 kB / 434 MB, free: 3.691 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.2528, allocations: 7.984 kB / 434 MB, free: 3.684 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/0.2528, allocations: 17.72 kB / 434 MB, free: 3.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.253, allocations: 314.8 kB / 434.3 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.34e-05/0.253, allocations: 8 kB / 434.3 MB, free: 3.336 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.606e-05/0.253, allocations: 31.36 kB / 434.4 MB, free: 3.293 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.511e-05/0.2531, allocations: 39.44 kB / 434.4 MB, free: 3.242 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2531, allocations: 0 / 434.4 MB, free: 3.242 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.027e-05/0.2532, allocations: 65.52 kB / 434.5 MB, free: 3.172 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.2532, allocations: 7.938 kB / 434.5 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2532, allocations: 0 / 434.5 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.2532, allocations: 4 kB / 434.5 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.402e-05/0.2533, allocations: 4 kB / 434.5 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.2533, allocations: 0 / 434.5 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.809e-05/0.2533, allocations: 128 / 434.5 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.2533, allocations: 8 kB / 434.5 MB, free: 3.148 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: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.816e-05/0.2534, allocations: 121.8 kB / 434.6 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.2535, allocations: 61.62 kB / 434.7 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.461e-05/0.2536, allocations: 7.672 kB / 434.7 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2536, allocations: 0 / 434.7 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2536, allocations: 0 / 434.7 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2536, allocations: 0 / 434.7 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.2537, allocations: 124.8 kB / 434.8 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2537, allocations: 0 / 434.8 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.927e-05/0.2537, allocations: 15.92 kB / 434.8 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.2537, allocations: 3.938 kB / 434.8 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.2537, allocations: 4 kB / 434.8 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2537, allocations: 0 / 434.8 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2537, allocations: 4.312 kB / 434.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.2539, allocations: 93.22 kB / 434.9 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.953e-05/0.2539, allocations: 8 kB / 434.9 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.2539, allocations: 3.938 kB / 434.9 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.068e-05/0.254, allocations: 15.98 kB / 434.9 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.374e-06/0.254, allocations: 0 / 434.9 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.254, allocations: 0 / 434.9 MB, free: 2.613 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.453e-05/0.254, allocations: 83.28 kB / 435 MB, free: 2.531 MB / 334.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.254, allocations: 0 / 435 MB, free: 2.531 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000183/0.2542, allocations: 4 kB / 435 MB, free: 2.527 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: 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.0005815/0.2548, allocations: 0.6436 MB / 435.7 MB, free: 1.852 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001371/0.2549, allocations: 27.98 kB / 435.7 MB, free: 1.824 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.269e-06/0.2549, allocations: 0 / 435.7 MB, free: 1.824 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.61e-07/0.2549, allocations: 0 / 435.7 MB, free: 1.824 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.2552, allocations: 27.95 kB / 435.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.2563, allocations: 1.169 MB / 436.9 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.2566, allocations: 0.6768 MB / 437.6 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.869e-05/0.2567, allocations: 4 kB / 437.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.2567, allocations: 11.42 kB / 437.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2567, allocations: 0 / 437.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02716/0.2839, allocations: 1.439 MB / 439 MB, free: 14.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.86, allocations: 7.297 kB / 439 MB, free: 14.48 MB / 350.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/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: Could not read variable assignClock1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.csv. Warning: Get data of variable assignClock1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.403175751998788]