Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.0009671/0.0009671, allocations: 76.36 kB / 20.67 MB, free: 3.895 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.0008903/0.0008903, 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.9165/0.9165, allocations: 177 MB / 204.1 MB, free: 5.742 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.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.414e-05, allocations: 2.844 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002021/0.002045, allocations: 1.525 MB / 326 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003678/0.002412, allocations: 143.4 kB / 326.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.212e-05/0.002495, allocations: 0 / 326.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.822e-05/0.002543, allocations: 7.922 kB / 326.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001357/0.002679, allocations: 3.938 kB / 326.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.002918, allocations: 42.83 kB / 326.2 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.643e-05/0.003014, allocations: 39.86 kB / 326.3 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.721e-05/0.003111, allocations: 8 kB / 326.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.327e-05/0.003154, allocations: 15.98 kB / 326.3 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.781e-05/0.003182, allocations: 19.91 kB / 326.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.003203, allocations: 4 kB / 326.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.584e-06/0.003211, allocations: 0 / 326.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.253e-05/0.003253, allocations: 8 kB / 326.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.003279, allocations: 15.92 kB / 326.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.003381, allocations: 43.81 kB / 326.4 MB, free: 14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.003384, allocations: 0 / 326.4 MB, free: 14 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.003385, allocations: 3.938 kB / 326.4 MB, free: 14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.003389, allocations: 4 kB / 326.4 MB, free: 14 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.0003517/0.003741, allocations: 282.1 kB / 326.7 MB, free: 13.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.003784, allocations: 11.98 kB / 326.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.355e-05/0.003817, allocations: 42.75 kB / 326.7 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.371e-05/0.003841, allocations: 8.891 kB / 326.7 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.004043, allocations: 136.3 kB / 326.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.004062, allocations: 4.375 kB / 326.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.00407, allocations: 384 / 326.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.0043, allocations: 121.5 kB / 327 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.004308, allocations: 8.172 kB / 327 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.004316, allocations: 384 / 327 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-06/0.004323, allocations: 4.125 kB / 327 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.475e-05/0.004358, allocations: 12 kB / 327 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002587/0.004617, allocations: 228.8 kB / 327.2 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.004728, allocations: 61.14 kB / 327.3 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.664e-05/0.004765, allocations: 25.77 kB / 327.3 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.004783, allocations: 0 / 327.3 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.004802, allocations: 42.44 kB / 327.4 MB, free: 12.87 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.004803, allocations: 4 kB / 327.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001658/0.004969, allocations: 69.62 kB / 327.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.005016, allocations: 85.05 kB / 327.5 MB, free: 12.69 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.444e-05/0.005101, allocations: 125.8 kB / 327.6 MB, free: 12.55 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.005113, allocations: 33.7 kB / 327.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.032e-05/0.005153, allocations: 80.14 kB / 327.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.506e-06/0.005162, allocations: 0 / 327.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/0.005193, allocations: 21.67 kB / 327.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0004053/0.005599, allocations: 314.8 kB / 328.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.36e-05/0.005622, allocations: 8.125 kB / 328.1 MB, free: 12.08 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.215e-05/0.005634, allocations: 8 kB / 328.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.108e-05/0.005665, allocations: 12.84 kB / 328.1 MB, free: 12.06 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.005667, allocations: 0 / 328.1 MB, free: 12.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.044e-05/0.005728, allocations: 49.58 kB / 328.2 MB, free: 12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.005743, allocations: 7.984 kB / 328.2 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.005748, allocations: 0 / 328.2 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.00576, allocations: 0 / 328.2 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.047e-06/0.005769, allocations: 0 / 328.2 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.005774, allocations: 8.078 kB / 328.2 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.624e-05/0.005791, allocations: 8 kB / 328.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.005796, allocations: 0 / 328.2 MB, free: 11.98 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 5.915e-05/0.005855, allocations: 109.8 kB / 328.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.674e-05/0.005901, allocations: 57.52 kB / 328.3 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.803e-05/0.005929, allocations: 12 kB / 328.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.005932, allocations: 0 / 328.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.005936, allocations: 0 / 328.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.00594, allocations: 3.984 kB / 328.4 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.006051, allocations: 140.7 kB / 328.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.006053, allocations: 4 kB / 328.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-06/0.006058, allocations: 3.938 kB / 328.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.00606, allocations: 3.938 kB / 328.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.006066, allocations: 0 / 328.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.006067, allocations: 4 kB / 328.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.006069, allocations: 0 / 328.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.87e-05/0.006167, allocations: 160.6 kB / 328.7 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.971e-05/0.006197, allocations: 15.92 kB / 328.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.00621, allocations: 11.98 kB / 328.7 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.207e-05/0.006242, allocations: 3.938 kB / 328.7 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.708e-05/0.006269, allocations: 4 kB / 328.7 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.006273, allocations: 4 kB / 328.7 MB, free: 11.37 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.318e-05/0.006316, allocations: 106 kB / 328.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006316, allocations: 0 / 328.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001444/0.00646, allocations: 4 kB / 328.8 MB, free: 11.27 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.0002649/0.006725, allocations: 0.6898 MB / 329.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.041e-05/0.006806, allocations: 19.92 kB / 329.5 MB, free: 10.53 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.006807, allocations: 0 / 329.5 MB, free: 10.53 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.25e-05/0.00682, allocations: 8.062 kB / 329.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.007069, allocations: 23.45 kB / 329.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007684/0.007837, allocations: 1.239 MB / 330.8 MB, free: 9.172 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.439e-05/0.007892, allocations: 79.52 kB / 330.9 MB, free: 9.074 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.739e-05/0.007909, allocations: 0 / 330.9 MB, free: 9.074 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.86e-05/0.007948, allocations: 16.5 kB / 330.9 MB, free: 9.059 MB / 298.7 MB Notification: Performance of SimCode: time 8.91e-07/0.007949, allocations: 96 / 330.9 MB, free: 9.059 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01999/0.02794, allocations: 2.094 MB / 333 MB, free: 7.059 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.721/6.749, allocations: 9.938 kB / 333 MB, free: 7.055 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.csv: Error: Error opening file: Modelica_trunk_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.546188088133931]