Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.0008095/0.0008095, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0008161/0.0008161, allocations: 156.9 kB / 23.94 MB, free: 0.6172 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.8839/0.8839, allocations: 177 MB / 204.1 MB, free: 5.75 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.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.053e-05/3.249e-05, allocations: 6.781 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.004972/0.005005, allocations: 1.455 MB / 326 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000252/0.005257, allocations: 99.62 kB / 326.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.431e-05/0.005321, allocations: 3.938 kB / 326.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.781e-05/0.005349, allocations: 0 / 326.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.332e-05/0.005382, allocations: 3.938 kB / 326.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.005629, allocations: 22.84 kB / 326.1 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.117e-05/0.00572, allocations: 27.92 kB / 326.1 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.911e-05/0.00582, allocations: 15.98 kB / 326.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.576e-05/0.005865, allocations: 15.92 kB / 326.1 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.822e-05/0.005894, allocations: 4 kB / 326.2 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.929e-05/0.005923, allocations: 3.938 kB / 326.2 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.035e-06/0.005931, allocations: 4 kB / 326.2 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/0.005949, allocations: 4 kB / 326.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.912e-05/0.005978, allocations: 11.92 kB / 326.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.006079, allocations: 31.89 kB / 326.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.006083, allocations: 0 / 326.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.006084, allocations: 0 / 326.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.006089, allocations: 0 / 326.2 MB, free: 14.19 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000387/0.006476, allocations: 262.4 kB / 326.5 MB, free: 13.9 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.006528, allocations: 11.98 kB / 326.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.082e-05/0.006569, allocations: 38.75 kB / 326.5 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.006602, allocations: 4.922 kB / 326.5 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.006898, allocations: 117.7 kB / 326.6 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/0.00693, allocations: 384 / 326.6 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.006946, allocations: 12.31 kB / 326.6 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003637/0.007309, allocations: 99.88 kB / 326.7 MB, free: 13.58 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.00732, allocations: 192 / 326.7 MB, free: 13.58 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.00733, allocations: 384 / 326.7 MB, free: 13.58 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.007337, allocations: 8.062 kB / 326.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.983e-05/0.007387, allocations: 15.98 kB / 326.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001124/0.0075, allocations: 128.8 kB / 326.9 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.726e-05/0.007597, allocations: 42.56 kB / 326.9 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.636e-05/0.007633, allocations: 24.92 kB / 327 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.00765, allocations: 0 / 327 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.007668, allocations: 38.5 kB / 327 MB, free: 13.26 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.007669, allocations: 0 / 327 MB, free: 13.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001581/0.007827, allocations: 65.77 kB / 327.1 MB, free: 13.19 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.007868, allocations: 63.33 kB / 327.1 MB, free: 13.12 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.968e-05/0.007928, allocations: 101.9 kB / 327.2 MB, free: 13.01 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.007938, allocations: 29.7 kB / 327.2 MB, free: 12.97 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.926e-05/0.007967, allocations: 84.14 kB / 327.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.935e-06/0.00797, allocations: 0 / 327.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.007999, allocations: 17.7 kB / 327.3 MB, free: 12.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.911e-05/0.008078, allocations: 310.8 kB / 327.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.95e-06/0.008083, allocations: 4 kB / 327.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.447e-06/0.008087, allocations: 0 / 327.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.14e-05/0.008108, allocations: 75.28 kB / 327.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.846e-05/0.008126, allocations: 75.28 kB / 327.8 MB, free: 12.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.911e-05/0.008166, allocations: 37.62 kB / 327.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.2e-05/0.008198, allocations: 79.28 kB / 327.9 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.243e-05/0.00822, allocations: 83.28 kB / 328 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.845e-05/0.008268, allocations: 158.5 kB / 328.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.739e-05/0.008286, allocations: 79.22 kB / 328.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.862e-05/0.008325, allocations: 162.5 kB / 328.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.043e-05/0.008385, allocations: 75.28 kB / 328.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.239e-05/0.008407, allocations: 79.28 kB / 328.5 MB, free: 11.65 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.246e-05/0.0085, allocations: 189.1 kB / 328.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.471e-05/0.008594, allocations: 53.62 kB / 328.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.247e-05/0.008627, allocations: 11.67 kB / 328.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.008629, allocations: 3.938 kB / 328.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.008636, allocations: 3.938 kB / 328.8 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.008639, allocations: 0 / 328.8 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004177/0.009057, allocations: 124.7 kB / 328.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.009061, allocations: 0 / 328.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.417e-05/0.009126, allocations: 12 kB / 328.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.00913, allocations: 0 / 328.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.505e-06/0.009137, allocations: 0 / 328.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.009141, allocations: 0 / 328.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.009144, allocations: 3.938 kB / 328.9 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.009252, allocations: 77.06 kB / 329 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.945e-06/0.009259, allocations: 0 / 329 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.009272, allocations: 11.98 kB / 329 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.203e-05/0.009284, allocations: 0 / 329 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-06/0.009288, allocations: 3.938 kB / 329 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.009294, allocations: 256 / 329 MB, free: 11.08 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.997e-05/0.009324, allocations: 87.28 kB / 329.1 MB, free: 11 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009324, allocations: 3.938 kB / 329.1 MB, free: 10.99 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001445/0.009468, allocations: 8 kB / 329.1 MB, free: 10.98 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (step.y,assignClock1.u,assignClock1.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.0002997/0.009768, allocations: 0.6124 MB / 329.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.207e-05/0.00983, allocations: 11.92 kB / 329.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.009832, allocations: 0 / 329.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.009832, allocations: 4 kB / 329.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.01004, allocations: 15.94 kB / 329.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007982/0.01084, allocations: 1.374 MB / 331.1 MB, free: 8.855 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.643e-05/0.01089, allocations: 63.34 kB / 331.2 MB, free: 8.773 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.498e-05/0.0109, allocations: 0 / 331.2 MB, free: 8.773 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.923e-05/0.01094, allocations: 12.5 kB / 331.2 MB, free: 8.762 MB / 298.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01094, allocations: 0 / 331.2 MB, free: 8.762 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01542/0.02636, allocations: 1.813 MB / 333 MB, free: 7.047 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.707/6.733, allocations: 8 kB / 333 MB, free: 7.039 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_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_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.TimeBasedStep_res.csv: Error: Error opening file: Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,assignClock1.y Variables in the result: [Calling sys.exit(0), Time elapsed: 8.496804486960173]