Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008068/0.0008068, allocations: 76.06 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9135/0.9135, allocations: 173.4 MB / 200.4 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.985e-06/2.985e-06, allocations: 3.984 kB / 318.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.15e-05/4.448e-05, allocations: 2.281 kB / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002402/0.002446, allocations: 1.488 MB / 319.9 MB, free: 4.855 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003043/0.002751, allocations: 139.5 kB / 320 MB, free: 4.719 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.108e-05/0.002822, allocations: 11.88 kB / 320.1 MB, free: 4.707 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.953e-05/0.002861, allocations: 3.938 kB / 320.1 MB, free: 4.703 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.00298, allocations: 7.969 kB / 320.1 MB, free: 4.695 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002111/0.003191, allocations: 31.86 kB / 320.1 MB, free: 4.664 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.003321, allocations: 35.84 kB / 320.1 MB, free: 4.629 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.081e-05/0.003412, allocations: 15.94 kB / 320.2 MB, free: 4.613 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.253e-05/0.003454, allocations: 15.98 kB / 320.2 MB, free: 4.598 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.902e-05/0.003483, allocations: 7.922 kB / 320.2 MB, free: 4.59 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.948e-05/0.003513, allocations: 4 kB / 320.2 MB, free: 4.586 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.037e-06/0.003522, allocations: 0 / 320.2 MB, free: 4.586 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.854e-05/0.00357, allocations: 8 kB / 320.2 MB, free: 4.578 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.235e-05/0.003593, allocations: 11.92 kB / 320.2 MB, free: 4.566 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.003697, allocations: 35.89 kB / 320.2 MB, free: 4.531 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.003699, allocations: 0 / 320.2 MB, free: 4.531 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.0037, allocations: 0 / 320.2 MB, free: 4.531 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.003706, allocations: 4 kB / 320.2 MB, free: 4.527 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000432/0.004138, allocations: 285.4 kB / 320.5 MB, free: 4.219 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.004188, allocations: 12.92 kB / 320.5 MB, free: 4.207 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.904e-05/0.004227, allocations: 34.75 kB / 320.6 MB, free: 4.164 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.696e-05/0.004254, allocations: 8.891 kB / 320.6 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.004492, allocations: 129.7 kB / 320.7 MB, free: 4.004 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.004517, allocations: 4.375 kB / 320.7 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.004526, allocations: 4.312 kB / 320.7 MB, free: 3.996 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.004752, allocations: 89.67 kB / 320.8 MB, free: 3.891 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.00476, allocations: 192 / 320.8 MB, free: 3.891 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.004767, allocations: 384 / 320.8 MB, free: 3.891 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.004774, allocations: 8.125 kB / 320.8 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.757e-05/0.004812, allocations: 15.92 kB / 320.8 MB, free: 3.867 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003388/0.005151, allocations: 228.8 kB / 321 MB, free: 3.598 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.173e-05/0.005202, allocations: 37.16 kB / 321.1 MB, free: 3.543 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.623e-05/0.005228, allocations: 21.77 kB / 321.1 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.005246, allocations: 0 / 321.1 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.005268, allocations: 46.44 kB / 321.1 MB, free: 3.461 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.005268, allocations: 0 / 321.1 MB, free: 3.461 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001534/0.005422, allocations: 57.58 kB / 321.2 MB, free: 3.398 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.005461, allocations: 77.11 kB / 321.3 MB, free: 3.305 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.584e-05/0.005547, allocations: 133.1 kB / 321.4 MB, free: 3.168 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.945e-06/0.005555, allocations: 25.7 kB / 321.4 MB, free: 3.137 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.537e-05/0.00559, allocations: 88.14 kB / 321.5 MB, free: 3.047 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.274e-06/0.005598, allocations: 0 / 321.5 MB, free: 3.047 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/0.005624, allocations: 25.84 kB / 321.5 MB, free: 3.016 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.909e-05/0.005693, allocations: 322.8 kB / 321.9 MB, free: 2.691 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.657e-05/0.005709, allocations: 4 kB / 321.9 MB, free: 2.688 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.789e-06/0.005719, allocations: 4 kB / 321.9 MB, free: 2.684 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.67e-05/0.005746, allocations: 16.84 kB / 321.9 MB, free: 2.664 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.005747, allocations: 0 / 321.9 MB, free: 2.664 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.562e-05/0.005793, allocations: 41.62 kB / 321.9 MB, free: 2.617 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.005806, allocations: 8 kB / 321.9 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.005811, allocations: 0 / 321.9 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.005823, allocations: 4.094 kB / 321.9 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.352e-05/0.005836, allocations: 0 / 321.9 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.005843, allocations: 3.938 kB / 321.9 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.315e-05/0.005856, allocations: 0 / 321.9 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.00586, allocations: 4 kB / 321.9 MB, free: 2.598 MB / 282.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 (sample1.u) * 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 6.406e-05/0.005925, allocations: 113.8 kB / 322.1 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/0.005958, allocations: 41.58 kB / 322.1 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.605e-05/0.005984, allocations: 11.47 kB / 322.1 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.005985, allocations: 0 / 322.1 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.00599, allocations: 0 / 322.1 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.005993, allocations: 8.031 kB / 322.1 MB, free: 2.406 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.006103, allocations: 132.7 kB / 322.2 MB, free: 2.234 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.006104, allocations: 0 / 322.2 MB, free: 2.234 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.258e-06/0.006108, allocations: 4 kB / 322.2 MB, free: 2.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.006112, allocations: 7.922 kB / 322.3 MB, free: 2.223 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.006119, allocations: 4 kB / 322.3 MB, free: 2.219 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.52e-07/0.00612, allocations: 0 / 322.3 MB, free: 2.219 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.006121, allocations: 0 / 322.3 MB, free: 2.219 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.613e-05/0.006207, allocations: 152.3 kB / 322.4 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.61e-05/0.006233, allocations: 23.89 kB / 322.4 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.006244, allocations: 4 kB / 322.4 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.167e-05/0.006276, allocations: 0 / 322.4 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.747e-05/0.006304, allocations: 0 / 322.4 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.006306, allocations: 0 / 322.4 MB, free: 2.023 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.578e-05/0.006352, allocations: 103.3 kB / 322.5 MB, free: 1.922 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006352, allocations: 0 / 322.5 MB, free: 1.922 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001425/0.006494, allocations: 4 kB / 322.5 MB, free: 1.918 MB / 282.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: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0003954/0.00689, allocations: 0.6897 MB / 323.2 MB, free: 1.199 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.961e-05/0.006959, allocations: 12.03 kB / 323.2 MB, free: 1.188 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.006961, allocations: 0 / 323.2 MB, free: 1.188 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.449e-05/0.006975, allocations: 7.984 kB / 323.3 MB, free: 1.18 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.007202, allocations: 23.89 kB / 323.3 MB, free: 1.156 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007349/0.007937, allocations: 1.223 MB / 324.5 MB, free: 15.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.999e-05/0.007987, allocations: 63.59 kB / 324.6 MB, free: 15.76 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.73e-05/0.008004, allocations: 11.98 kB / 324.6 MB, free: 15.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.385e-05/0.008038, allocations: 12.5 kB / 324.6 MB, free: 15.74 MB / 298.7 MB Notification: Performance of SimCode: time 6.82e-07/0.008039, allocations: 0 / 324.6 MB, free: 15.74 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01865/0.02669, allocations: 2.033 MB / 326.6 MB, free: 13.84 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.098/7.125, allocations: 10.92 kB / 326.6 MB, free: 13.84 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_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_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.csv: Error: Error opening file: Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,sample1.y Variables in the result: [Calling sys.exit(0), Time elapsed: 8.95272521674633]