Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.00171/0.00171, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.002256/0.002256, allocations: 206.6 kB / 20.75 MB, free: 2.312 MB / 14.72 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 1.398/1.398, allocations: 230.4 MB / 254 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] 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.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 59.91 kB / 373 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1069, allocations: 53.38 MB / 426.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002753/0.1096, allocations: 1.502 MB / 427.9 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003879/0.11, allocations: 139.5 kB / 428 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.213e-05/0.1101, allocations: 4 kB / 428 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.839e-05/0.1102, allocations: 7.922 kB / 428 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.1103, allocations: 3.938 kB / 428 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.1105, allocations: 35.91 kB / 428 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.807e-05/0.1106, allocations: 31.92 kB / 428.1 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1107, allocations: 11.97 kB / 428.1 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.253e-05/0.1108, allocations: 11.94 kB / 428.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.949e-05/0.1108, allocations: 11.92 kB / 428.1 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.1108, allocations: 4 kB / 428.1 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.356e-06/0.1108, allocations: 0 / 428.1 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.061e-05/0.1109, allocations: 15.92 kB / 428.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.161e-05/0.1109, allocations: 23.8 kB / 428.1 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.111, allocations: 39.78 kB / 428.2 MB, free: 2.773 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.111, allocations: 0 / 428.2 MB, free: 2.773 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.111, allocations: 4 kB / 428.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.111, allocations: 0 / 428.2 MB, free: 2.77 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.000456/0.1115, allocations: 359.2 kB / 428.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.1115, allocations: 8.031 kB / 428.5 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.98e-05/0.1116, allocations: 30.75 kB / 428.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.486e-05/0.1116, allocations: 16.77 kB / 428.6 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.1118, allocations: 198.3 kB / 428.8 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.1119, allocations: 384 / 428.8 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.1119, allocations: 4.375 kB / 428.8 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.1121, allocations: 89.61 kB / 428.9 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1121, allocations: 3.938 kB / 428.9 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.1121, allocations: 4 kB / 428.9 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1121, allocations: 0 / 428.9 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.238e-05/0.1122, allocations: 7.938 kB / 428.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.1125, allocations: 261.8 kB / 429.2 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.403e-05/0.1126, allocations: 49.09 kB / 429.2 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.688e-05/0.1126, allocations: 13.78 kB / 429.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.1126, allocations: 7.984 kB / 429.2 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.1127, allocations: 34.56 kB / 429.3 MB, free: 1.504 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.1127, allocations: 0 / 429.3 MB, free: 1.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001923/0.1129, allocations: 57.58 kB / 429.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.1129, allocations: 81.11 kB / 429.4 MB, free: 1.344 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.113, allocations: 129.8 kB / 429.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.1131, allocations: 29.95 kB / 429.5 MB, free: 1.172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.415e-05/0.1131, allocations: 84.14 kB / 429.6 MB, free: 1.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.034e-05/0.1131, allocations: 3.953 kB / 429.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.1132, allocations: 21.7 kB / 429.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1133, allocations: 314.8 kB / 430 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.745e-05/0.1133, allocations: 3.938 kB / 430 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.132e-05/0.1134, allocations: 21.7 kB / 430 MB, free: 0.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.949e-05/0.1134, allocations: 21.78 kB / 430 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.1134, allocations: 3.938 kB / 430 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.04e-05/0.1135, allocations: 49.62 kB / 430.1 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1135, allocations: 10.19 kB / 430.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1135, allocations: 0 / 430.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.1135, allocations: 0 / 430.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.446e-05/0.1135, allocations: 0 / 430.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.1136, allocations: 12 kB / 430.1 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.542e-05/0.1136, allocations: 0 / 430.1 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.1136, allocations: 0 / 430.1 MB, free: 0.6016 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.702e-05/0.1137, allocations: 121.8 kB / 430.2 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.71e-05/0.1137, allocations: 41.59 kB / 430.2 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.34e-05/0.1138, allocations: 15.52 kB / 430.3 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1138, allocations: 0 / 430.3 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1138, allocations: 0 / 430.3 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1138, allocations: 4.031 kB / 430.3 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.114, allocations: 161.6 kB / 430.4 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.114, allocations: 3.938 kB / 430.4 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.404e-06/0.114, allocations: 4 kB / 430.4 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.114, allocations: 0 / 430.4 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.114, allocations: 0 / 430.4 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.114, allocations: 3.984 kB / 430.4 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.114, allocations: 0 / 430.4 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.1141, allocations: 164.2 kB / 430.6 MB, free: 0 / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.181e-05/0.1142, allocations: 97.05 kB / 430.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.1142, allocations: 3.984 kB / 430.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.296e-05/0.1143, allocations: 4 kB / 430.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.844e-05/0.1143, allocations: 0 / 430.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.1143, allocations: 0 / 430.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.464e-05/0.1144, allocations: 100.7 kB / 430.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1144, allocations: 0 / 430.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002097/0.1146, allocations: 8.031 kB / 430.8 MB, free: 15.77 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.0004665/0.1151, allocations: 0.682 MB / 431.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001026/0.1152, allocations: 20.03 kB / 431.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1152, allocations: 0 / 431.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.709e-05/0.1152, allocations: 7.984 kB / 431.5 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.1155, allocations: 15.97 kB / 431.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.1167, allocations: 1.249 MB / 432.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.117, allocations: 0.6924 MB / 433.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.548e-05/0.117, allocations: 0 / 433.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.947e-05/0.117, allocations: 19.38 kB / 433.5 MB, free: 12.94 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.117, allocations: 96 / 433.5 MB, free: 12.94 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02183/0.1389, allocations: 1.367 MB / 434.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.43/7.569, allocations: 0 / 434.9 MB, free: 11.7 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 10.188991689006798]