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.002165/0.002165, allocations: 111.1 kB / 20.44 MB, free: 1.203 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.002073/0.002073, allocations: 214.4 kB / 23.73 MB, free: 4.184 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.423/1.423, allocations: 230.5 MB / 257.4 MB, free: 7.789 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.002116/0.002116, allocations: 67.89 kB / 377.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2881, allocations: 53.42 MB / 431.1 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002652/0.2908, allocations: 1.436 MB / 432.6 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001959/0.291, allocations: 39.84 kB / 432.6 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.733e-05/0.291, allocations: 0 / 432.6 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.994e-05/0.2911, allocations: 3.938 kB / 432.6 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.953e-05/0.2911, allocations: 0 / 432.6 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002493/0.2913, allocations: 23.98 kB / 432.6 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.85e-05/0.2914, allocations: 27.92 kB / 432.7 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.097e-05/0.2915, allocations: 11.97 kB / 432.7 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.58e-05/0.2915, allocations: 15.94 kB / 432.7 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.973e-05/0.2916, allocations: 15.92 kB / 432.7 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.2916, allocations: 0 / 432.7 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.039e-05/0.2916, allocations: 4 kB / 432.7 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.841e-05/0.2916, allocations: 7.938 kB / 432.7 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.753e-05/0.2917, allocations: 7.938 kB / 432.7 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.338e-05/0.2917, allocations: 39.67 kB / 432.8 MB, free: 4.867 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.2917, allocations: 0 / 432.8 MB, free: 4.867 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2918, allocations: 3.938 kB / 432.8 MB, free: 4.863 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.2918, allocations: 0 / 432.8 MB, free: 4.863 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.0003971/0.2922, allocations: 257.9 kB / 433 MB, free: 4.582 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.2922, allocations: 19.98 kB / 433 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.167e-05/0.2922, allocations: 38.73 kB / 433.1 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.299e-05/0.2923, allocations: 4.938 kB / 433.1 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.2925, allocations: 123.4 kB / 433.2 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.2925, allocations: 4.375 kB / 433.2 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.2925, allocations: 384 / 433.2 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003203/0.2928, allocations: 115.8 kB / 433.3 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.2928, allocations: 3.938 kB / 433.3 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.2928, allocations: 4 kB / 433.3 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.2928, allocations: 0 / 433.3 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.293, allocations: 27.92 kB / 433.4 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001751/0.2931, allocations: 124.8 kB / 433.5 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.2933, allocations: 50.58 kB / 433.5 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.579e-05/0.2934, allocations: 20.89 kB / 433.5 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.442e-06/0.2934, allocations: 0 / 433.5 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.2934, allocations: 38.55 kB / 433.6 MB, free: 3.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.2934, allocations: 0 / 433.6 MB, free: 3.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002457/0.2936, allocations: 81.5 kB / 433.7 MB, free: 3.824 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.2937, allocations: 55.41 kB / 433.7 MB, free: 3.758 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.055e-05/0.2938, allocations: 105.8 kB / 433.8 MB, free: 3.645 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.2938, allocations: 25.7 kB / 433.8 MB, free: 3.613 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.129e-05/0.2938, allocations: 84.14 kB / 433.9 MB, free: 3.527 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.177e-05/0.2938, allocations: 4 kB / 433.9 MB, free: 3.523 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.2939, allocations: 21.7 kB / 434 MB, free: 3.496 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.294, allocations: 310.8 kB / 434.3 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.577e-05/0.294, allocations: 11.94 kB / 434.3 MB, free: 3.172 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.212e-05/0.2941, allocations: 27.42 kB / 434.3 MB, free: 3.133 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.516e-05/0.2941, allocations: 47.38 kB / 434.3 MB, free: 3.074 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.2941, allocations: 0 / 434.3 MB, free: 3.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.477e-05/0.2942, allocations: 61.52 kB / 434.4 MB, free: 3.008 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.2942, allocations: 11.94 kB / 434.4 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.2942, allocations: 0 / 434.4 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.2942, allocations: 192 / 434.4 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.065e-05/0.2943, allocations: 4 kB / 434.4 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.2943, allocations: 12.06 kB / 434.4 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.806e-05/0.2943, allocations: 384 / 434.4 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.2943, allocations: 7.984 kB / 434.4 MB, free: 2.973 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 8.178e-05/0.2944, allocations: 113.8 kB / 434.5 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.2945, allocations: 65.55 kB / 434.6 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.04e-05/0.2946, allocations: 7.688 kB / 434.6 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2946, allocations: 0 / 434.6 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/0.2946, allocations: 4 kB / 434.6 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.2946, allocations: 0 / 434.6 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.396e-05/0.2947, allocations: 124.8 kB / 434.7 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.2947, allocations: 4 kB / 434.8 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.085e-05/0.2947, allocations: 7.984 kB / 434.8 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.2947, allocations: 3.938 kB / 434.8 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.2947, allocations: 0 / 434.8 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2947, allocations: 0 / 434.8 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2947, allocations: 4 kB / 434.8 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.2949, allocations: 89 kB / 434.9 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-06/0.2949, allocations: 4 kB / 434.9 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.2949, allocations: 7.938 kB / 434.9 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.84e-05/0.2949, allocations: 7.984 kB / 434.9 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.6e-06/0.2949, allocations: 0 / 434.9 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.2949, allocations: 4 kB / 434.9 MB, free: 2.453 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.67e-05/0.295, allocations: 79.28 kB / 435 MB, free: 2.375 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.295, allocations: 3.938 kB / 435 MB, free: 2.371 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001814/0.2952, allocations: 8 kB / 435 MB, free: 2.363 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.0005609/0.2957, allocations: 0.6358 MB / 435.6 MB, free: 1.695 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001241/0.2958, allocations: 31.92 kB / 435.6 MB, free: 1.664 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2958, allocations: 0 / 435.6 MB, free: 1.664 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.795e-06/0.2958, allocations: 4.297 kB / 435.6 MB, free: 1.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.2961, allocations: 30.69 kB / 435.7 MB, free: 1.633 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.2971, allocations: 1.17 MB / 436.8 MB, free: 372 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.433e-05/0.2972, allocations: 63.34 kB / 436.9 MB, free: 288 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.475e-05/0.2972, allocations: 0 / 436.9 MB, free: 288 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.707e-05/0.2972, allocations: 11.42 kB / 436.9 MB, free: 276 kB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2972, allocations: 0 / 436.9 MB, free: 276 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0294/0.3266, allocations: 1.829 MB / 438.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.18, allocations: 4.062 kB / 438.7 MB, free: 14.54 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.73016154859215]