Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.001615/0.001615, allocations: 120.4 kB / 17.79 MB, free: 5.285 MB / 14.72 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.002005/0.002005, allocations: 199.3 kB / 20.74 MB, free: 2.344 MB / 14.72 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 1.527/1.527, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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.SampleClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 51.92 kB / 373 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.11, allocations: 53.33 MB / 426.3 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.00289/0.1128, allocations: 1.512 MB / 427.8 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004148/0.1133, allocations: 143.5 kB / 428 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.34e-05/0.1133, allocations: 3.938 kB / 428 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.032e-05/0.1134, allocations: 3.938 kB / 428 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001226/0.1135, allocations: 4 kB / 428 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.1137, allocations: 39.83 kB / 428 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.888e-05/0.1138, allocations: 27.92 kB / 428 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.4e-05/0.1139, allocations: 8 kB / 428 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.062e-05/0.114, allocations: 11.94 kB / 428.1 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.182e-05/0.114, allocations: 11.92 kB / 428.1 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.114, allocations: 0 / 428.1 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.487e-06/0.114, allocations: 8 kB / 428.1 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.036e-05/0.1141, allocations: 15.92 kB / 428.1 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.95e-05/0.1141, allocations: 15.88 kB / 428.1 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.1142, allocations: 39.77 kB / 428.1 MB, free: 2.969 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1142, allocations: 0 / 428.1 MB, free: 2.969 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1142, allocations: 0 / 428.1 MB, free: 2.969 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.998e-06/0.1142, allocations: 0 / 428.1 MB, free: 2.969 MB / 350.1 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.0004712/0.1147, allocations: 359.2 kB / 428.5 MB, free: 2.566 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1147, allocations: 15.97 kB / 428.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.655e-05/0.1148, allocations: 30.75 kB / 428.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.032e-05/0.1148, allocations: 16.88 kB / 428.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.1151, allocations: 192.2 kB / 428.7 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.1151, allocations: 384 / 428.7 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.1151, allocations: 4.375 kB / 428.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.1154, allocations: 89.61 kB / 428.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.1154, allocations: 7.938 kB / 428.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.1154, allocations: 0 / 428.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.1154, allocations: 0 / 428.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.558e-05/0.1154, allocations: 11.98 kB / 428.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003796/0.1158, allocations: 257.8 kB / 429.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.318e-05/0.1159, allocations: 41.16 kB / 429.1 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.458e-05/0.116, allocations: 21.77 kB / 429.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.116, allocations: 0 / 429.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.116, allocations: 42.48 kB / 429.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.116, allocations: 0 / 429.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002217/0.1162, allocations: 61.8 kB / 429.3 MB, free: 1.633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.313e-05/0.1163, allocations: 81.05 kB / 429.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.1164, allocations: 129.8 kB / 429.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.1165, allocations: 25.7 kB / 429.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.433e-05/0.1165, allocations: 92.12 kB / 429.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.015e-05/0.1165, allocations: 3.953 kB / 429.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.49e-05/0.1166, allocations: 13.72 kB / 429.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1167, allocations: 318.9 kB / 429.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.816e-05/0.1167, allocations: 4 kB / 429.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.284e-05/0.1168, allocations: 17.7 kB / 429.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.827e-05/0.1168, allocations: 25.66 kB / 430 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.1168, allocations: 3.938 kB / 430 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.393e-05/0.1169, allocations: 49.75 kB / 430 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.117, allocations: 4 kB / 430 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.117, allocations: 0 / 430 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.117, allocations: 7.938 kB / 430 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.355e-05/0.117, allocations: 0 / 430 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.117, allocations: 3.938 kB / 430 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.727e-05/0.117, allocations: 3.984 kB / 430 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.117, allocations: 4 kB / 430 MB, free: 0.7891 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 9.244e-05/0.1171, allocations: 117.8 kB / 430.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.756e-05/0.1172, allocations: 41.72 kB / 430.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/0.1172, allocations: 11.52 kB / 430.2 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1172, allocations: 0 / 430.2 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.1172, allocations: 8 kB / 430.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1172, allocations: 0 / 430.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.1174, allocations: 161.6 kB / 430.4 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1174, allocations: 3.984 kB / 430.4 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.63e-06/0.1174, allocations: 0 / 430.4 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1174, allocations: 0 / 430.4 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.1174, allocations: 4 kB / 430.4 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1174, allocations: 4.031 kB / 430.4 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1174, allocations: 0 / 430.4 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.1176, allocations: 160.2 kB / 430.5 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.304e-05/0.1177, allocations: 92.98 kB / 430.6 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.1177, allocations: 0 / 430.6 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.151e-05/0.1177, allocations: 0 / 430.6 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.1178, allocations: 12.03 kB / 430.6 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.1178, allocations: 0 / 430.6 MB, free: 76 kB / 350.1 MB Notification: Performance of sorting global known variables: time 8.996e-05/0.1179, allocations: 101.6 kB / 430.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1179, allocations: 0 / 430.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002084/0.1181, allocations: 4 kB / 430.7 MB, free: 15.97 MB / 366.1 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.0005296/0.1186, allocations: 0.6897 MB / 431.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001218/0.1187, allocations: 19.98 kB / 431.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1187, allocations: 0 / 431.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.683e-05/0.1188, allocations: 7.938 kB / 431.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.1191, allocations: 18.2 kB / 431.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.1204, allocations: 1.245 MB / 432.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.1207, allocations: 0.6923 MB / 433.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.894e-05/0.1208, allocations: 3.938 kB / 433.4 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.748e-05/0.1208, allocations: 7.438 kB / 433.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1208, allocations: 0 / 433.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02368/0.1445, allocations: 1.39 MB / 434.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.099/8.244, allocations: 11.98 kB / 434.8 MB, free: 11.88 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y Variables in the result:time,step.startTime,periodicClock.factor,periodicClock.resolution,sample1.u,sample1.y [Calling sys.exit(0), Time elapsed: 11.230791554000461]