Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.001261/0.001261, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001005/0.001005, allocations: 170 kB / 23.95 MB, free: 0.6055 MB / 18.57 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 0.9607/0.9607, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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.BooleanSignals.Sample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.551e-05/2.755e-05, allocations: 4.953 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002398/0.002425, allocations: 1.528 MB / 326.1 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004273/0.002853, allocations: 143.4 kB / 326.2 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.002957, allocations: 7.938 kB / 326.2 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.144e-05/0.003008, allocations: 3.938 kB / 326.2 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.003153, allocations: 3.938 kB / 326.2 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002507/0.003403, allocations: 43.83 kB / 326.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.003513, allocations: 35.86 kB / 326.3 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.003619, allocations: 8 kB / 326.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.598e-05/0.003665, allocations: 23.91 kB / 326.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.962e-05/0.003695, allocations: 15.98 kB / 326.4 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.003718, allocations: 0 / 326.4 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.084e-05/0.003729, allocations: 4 kB / 326.4 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.287e-05/0.003782, allocations: 15.92 kB / 326.4 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.626e-05/0.003808, allocations: 7.938 kB / 326.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.003938, allocations: 47.81 kB / 326.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.00394, allocations: 0 / 326.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.003941, allocations: 0 / 326.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.003947, allocations: 0 / 326.4 MB, free: 14.05 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004555/0.004402, allocations: 289.2 kB / 326.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.004458, allocations: 8.031 kB / 326.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.059e-05/0.004499, allocations: 42.73 kB / 326.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.067e-05/0.004529, allocations: 8.891 kB / 326.8 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.004787, allocations: 129.6 kB / 326.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.004811, allocations: 4.375 kB / 326.9 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.004823, allocations: 4.375 kB / 326.9 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003046/0.005128, allocations: 117.6 kB / 327 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.005137, allocations: 8.188 kB / 327 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.00515, allocations: 4.359 kB / 327 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.005159, allocations: 4.125 kB / 327.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.368e-05/0.005203, allocations: 19.92 kB / 327.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004055/0.005608, allocations: 228.8 kB / 327.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.005798, allocations: 61.09 kB / 327.4 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.285e-05/0.005851, allocations: 25.77 kB / 327.4 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.3e-05/0.005884, allocations: 0 / 327.4 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.005918, allocations: 38.5 kB / 327.4 MB, free: 12.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 2.054e-06/0.00592, allocations: 4 kB / 327.4 MB, free: 12.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002592/0.006179, allocations: 73.56 kB / 327.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.283e-05/0.006252, allocations: 77.11 kB / 327.6 MB, free: 12.74 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.006396, allocations: 132.5 kB / 327.7 MB, free: 12.6 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.006414, allocations: 25.7 kB / 327.7 MB, free: 12.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.222e-05/0.006487, allocations: 88.14 kB / 327.8 MB, free: 12.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.006501, allocations: 3.984 kB / 327.8 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.563e-05/0.006547, allocations: 17.67 kB / 327.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.00669, allocations: 314.8 kB / 328.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.136e-05/0.006731, allocations: 8.125 kB / 328.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.983e-05/0.006751, allocations: 7.984 kB / 328.2 MB, free: 12.12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.279e-05/0.006794, allocations: 16.8 kB / 328.2 MB, free: 12.1 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.006797, allocations: 0 / 328.2 MB, free: 12.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.559e-05/0.006883, allocations: 41.62 kB / 328.2 MB, free: 12.05 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.006903, allocations: 8 kB / 328.2 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.046e-06/0.006912, allocations: 0 / 328.2 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.006934, allocations: 0 / 328.2 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.422e-05/0.006948, allocations: 96 / 328.2 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.006957, allocations: 4 kB / 328.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.039e-05/0.006977, allocations: 4 kB / 328.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-06/0.006985, allocations: 0 / 328.2 MB, free: 12.04 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: 1 (step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 0.0001043/0.007089, allocations: 117.8 kB / 328.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.002e-05/0.007159, allocations: 53.53 kB / 328.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.539e-05/0.007204, allocations: 11.98 kB / 328.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.007209, allocations: 4 kB / 328.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.007217, allocations: 0 / 328.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.007221, allocations: 0 / 328.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.007374, allocations: 132.7 kB / 328.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.007377, allocations: 8 kB / 328.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.606e-06/0.007385, allocations: 0 / 328.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.00739, allocations: 3.938 kB / 328.6 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.007402, allocations: 8 kB / 328.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.007406, allocations: 11.92 kB / 328.6 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.007407, allocations: 0 / 328.6 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.007564, allocations: 156.5 kB / 328.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/0.007609, allocations: 19.88 kB / 328.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.007627, allocations: 4 kB / 328.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.704e-05/0.007664, allocations: 3.984 kB / 328.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.007706, allocations: 7.984 kB / 328.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.007711, allocations: 4 kB / 328.8 MB, free: 11.42 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.831e-05/0.007769, allocations: 103.2 kB / 328.9 MB, free: 11.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007769, allocations: 0 / 328.9 MB, free: 11.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001549/0.007924, allocations: 4 kB / 328.9 MB, free: 11.32 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.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.0003677/0.008292, allocations: 0.6937 MB / 329.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001005/0.008392, allocations: 15.98 kB / 329.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.008394, allocations: 0 / 329.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.542e-05/0.008409, allocations: 12.05 kB / 329.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.008682, allocations: 19.97 kB / 329.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009148/0.009597, allocations: 1.236 MB / 330.8 MB, free: 9.223 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.009703, allocations: 79.58 kB / 330.9 MB, free: 9.125 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.836e-05/0.009731, allocations: 0 / 330.9 MB, free: 9.125 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.381e-05/0.009805, allocations: 20.48 kB / 330.9 MB, free: 9.105 MB / 298.7 MB Notification: Performance of SimCode: time 8.21e-07/0.009806, allocations: 4.094 kB / 330.9 MB, free: 9.102 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01948/0.02929, allocations: 2.106 MB / 333.1 MB, free: 7.121 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.928/6.957, allocations: 3.094 kB / 333.1 MB, free: 7.121 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.csv: Error: Error opening file: Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,assignClock.y,sample1.y Variables in the result: [Calling sys.exit(0), Time elapsed: 8.880650237202644]