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.001857/0.001857, 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.002143/0.002143, 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.43/1.43, allocations: 230.4 MB / 254 MB, free: 15.04 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.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 0.001819/0.001819, allocations: 59.91 kB / 373 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1047, allocations: 53.38 MB / 426.3 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002842/0.1075, allocations: 1.527 MB / 427.9 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003797/0.1079, allocations: 143.5 kB / 428 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.849e-05/0.1079, allocations: 0 / 428 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.397e-05/0.108, allocations: 7.938 kB / 428 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.1081, allocations: 7.938 kB / 428 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002268/0.1083, allocations: 39.83 kB / 428.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.918e-05/0.1084, allocations: 31.92 kB / 428.1 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.126e-05/0.1085, allocations: 12 kB / 428.1 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.138e-05/0.1086, allocations: 11.92 kB / 428.1 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.653e-05/0.1086, allocations: 15.92 kB / 428.1 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.1086, allocations: 3.938 kB / 428.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.154e-05/0.1086, allocations: 4 kB / 428.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.842e-05/0.1087, allocations: 11.98 kB / 428.2 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.803e-05/0.1087, allocations: 27.8 kB / 428.2 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.1088, allocations: 47.77 kB / 428.2 MB, free: 2.754 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1088, allocations: 0 / 428.2 MB, free: 2.754 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1088, allocations: 0 / 428.2 MB, free: 2.754 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.1088, allocations: 0 / 428.2 MB, free: 2.754 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004808/0.1093, allocations: 363.2 kB / 428.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.1094, allocations: 12.03 kB / 428.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.847e-05/0.1094, allocations: 30.75 kB / 428.6 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.596e-05/0.1094, allocations: 8.891 kB / 428.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.1097, allocations: 204.2 kB / 428.8 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.1097, allocations: 384 / 428.8 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.1097, allocations: 8.375 kB / 428.8 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.1099, allocations: 109.6 kB / 429 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.1099, allocations: 3.938 kB / 429 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.722e-06/0.11, allocations: 4 kB / 429 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.11, allocations: 0 / 429 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.774e-05/0.11, allocations: 15.94 kB / 429 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003321/0.1103, allocations: 261.7 kB / 429.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.1105, allocations: 142.2 kB / 429.4 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.758e-05/0.1106, allocations: 25.77 kB / 429.4 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.1106, allocations: 7.938 kB / 429.4 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.1106, allocations: 30.56 kB / 429.4 MB, free: 1.332 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.1106, allocations: 0 / 429.4 MB, free: 1.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000214/0.1108, allocations: 69.7 kB / 429.5 MB, free: 1.258 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.317e-05/0.1109, allocations: 85.09 kB / 429.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.1111, allocations: 131.1 kB / 429.7 MB, free: 1.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.1111, allocations: 29.7 kB / 429.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.517e-05/0.1111, allocations: 84.14 kB / 429.8 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.534e-06/0.1111, allocations: 0 / 429.8 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.1112, allocations: 25.67 kB / 429.8 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.1113, allocations: 318.8 kB / 430.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.201e-05/0.1114, allocations: 11.94 kB / 430.2 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.445e-05/0.1114, allocations: 31.42 kB / 430.2 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.157e-05/0.1115, allocations: 43.38 kB / 430.2 MB, free: 448 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1115, allocations: 7.938 kB / 430.3 MB, free: 440 kB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001135/0.1116, allocations: 61.61 kB / 430.3 MB, free: 372 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.1116, allocations: 4 kB / 430.3 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1116, allocations: 0 / 430.3 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1116, allocations: 4 kB / 430.3 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.178e-06/0.1116, allocations: 0 / 430.3 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.1116, allocations: 4 kB / 430.3 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.753e-05/0.1117, allocations: 0 / 430.3 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.964e-06/0.1117, allocations: 8.125 kB / 430.3 MB, free: 352 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001103/0.1118, allocations: 125.7 kB / 430.5 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-05/0.1119, allocations: 49.88 kB / 430.5 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.399e-05/0.1119, allocations: 11.94 kB / 430.5 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.1119, allocations: 7.984 kB / 430.5 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1119, allocations: 0 / 430.5 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1119, allocations: 0 / 430.5 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.1121, allocations: 169.6 kB / 430.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.1121, allocations: 0 / 430.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.054e-06/0.1121, allocations: 8 kB / 430.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1121, allocations: 0 / 430.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.1121, allocations: 0 / 430.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.1121, allocations: 0 / 430.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1121, allocations: 4 kB / 430.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.1123, allocations: 164.2 kB / 430.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.074e-05/0.1124, allocations: 93.05 kB / 431 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.1124, allocations: 7.984 kB / 431 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.031e-05/0.1124, allocations: 0 / 431 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.594e-05/0.1125, allocations: 4 kB / 431 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.1125, allocations: 0 / 431 MB, free: 15.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.575e-05/0.1126, allocations: 112.7 kB / 431.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1126, allocations: 0 / 431.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002104/0.1128, allocations: 4 kB / 431.1 MB, free: 15.48 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: 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.0005272/0.1133, allocations: 0.7015 MB / 431.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001118/0.1134, allocations: 23.92 kB / 431.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1134, allocations: 0 / 431.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.309e-05/0.1134, allocations: 4 kB / 431.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.1137, allocations: 26.36 kB / 431.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.115, allocations: 1.31 MB / 433.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.1154, allocations: 0.6885 MB / 433.8 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.846e-05/0.1154, allocations: 4 kB / 433.8 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.149e-05/0.1154, allocations: 19.42 kB / 433.9 MB, free: 12.55 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1154, allocations: 0 / 433.9 MB, free: 12.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02283/0.1383, allocations: 1.463 MB / 435.3 MB, free: 11.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.425/7.563, allocations: 7.984 kB / 435.3 MB, free: 11.19 MB / 366.1 MB " [Timeout remaining time 652] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins1/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: Could not read variable sample1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.csv. Warning: Get data of variable sample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,assignClock.y,sample1.y Variables in the result:time,step.startTime,periodicClock.factor,periodicClock.resolution,assignClock.u,assignClock.y [Calling sys.exit(0), Time elapsed: 10.232685946975835]