Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.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.001689/0.001689, allocations: 120.4 kB / 17.79 MB, free: 5.344 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.001836/0.001836, allocations: 206.6 kB / 20.75 MB, free: 2.391 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.415/1.415, 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.TimeBasedPulse,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 67.89 kB / 373 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1063, allocations: 53.36 MB / 426.3 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.0029/0.1092, allocations: 1.502 MB / 427.8 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000924/0.1101, allocations: 498.7 kB / 428.3 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.997e-05/0.1102, allocations: 0 / 428.3 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.331e-05/0.1102, allocations: 7.922 kB / 428.3 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001587/0.1104, allocations: 11.88 kB / 428.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.1106, allocations: 35.89 kB / 428.4 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.1107, allocations: 55.8 kB / 428.4 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.774e-05/0.1108, allocations: 15.97 kB / 428.5 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.148e-05/0.1108, allocations: 19.92 kB / 428.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.039e-05/0.1109, allocations: 23.92 kB / 428.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.1109, allocations: 4 kB / 428.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.034e-05/0.1109, allocations: 7.938 kB / 428.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.036e-05/0.1109, allocations: 7.984 kB / 428.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.038e-05/0.111, allocations: 23.86 kB / 428.5 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.1111, allocations: 51.75 kB / 428.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1111, allocations: 3.938 kB / 428.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1111, allocations: 0 / 428.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.1111, allocations: 4 kB / 428.6 MB, free: 2.375 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.0005824/0.1117, allocations: 375.3 kB / 429 MB, free: 1.961 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.1117, allocations: 8.031 kB / 429 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.817e-05/0.1118, allocations: 38.75 kB / 429 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.016e-05/0.1118, allocations: 8.891 kB / 429 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.112, allocations: 184.3 kB / 429.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.112, allocations: 4.375 kB / 429.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.112, allocations: 4.375 kB / 429.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003582/0.1124, allocations: 147.3 kB / 429.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1124, allocations: 3.938 kB / 429.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.1124, allocations: 0 / 429.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1124, allocations: 0 / 429.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.1125, allocations: 27.98 kB / 429.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.1127, allocations: 161.7 kB / 429.5 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.1129, allocations: 131.7 kB / 429.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.397e-05/0.113, allocations: 32.84 kB / 429.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.113, allocations: 0 / 429.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.113, allocations: 42.44 kB / 429.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 8.91e-07/0.113, allocations: 0 / 429.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002735/0.1133, allocations: 89.62 kB / 429.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.1134, allocations: 55.41 kB / 429.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.753e-05/0.1135, allocations: 117.8 kB / 430 MB, free: 0.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.1135, allocations: 29.64 kB / 430 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.596e-05/0.1135, allocations: 84.14 kB / 430.1 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.1135, allocations: 7.922 kB / 430.1 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.1136, allocations: 25.72 kB / 430.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1137, allocations: 314.8 kB / 430.5 MB, free: 280 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.921e-05/0.1137, allocations: 11.92 kB / 430.5 MB, free: 268 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.594e-05/0.1138, allocations: 49.09 kB / 430.5 MB, free: 200 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.592e-05/0.1138, allocations: 57.08 kB / 430.6 MB, free: 124 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1138, allocations: 4 kB / 430.6 MB, free: 120 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001188/0.1139, allocations: 77.45 kB / 430.7 MB, free: 36 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.114, allocations: 8 kB / 430.7 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.114, allocations: 0 / 430.7 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.114, allocations: 7.984 kB / 430.7 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.442e-05/0.114, allocations: 4 kB / 430.7 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.689e-06/0.114, allocations: 7.938 kB / 430.7 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.387e-05/0.1141, allocations: 4.188 kB / 430.7 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.1141, allocations: 8.047 kB / 430.7 MB, free: 15.99 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,pulse.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.363e-05/0.1142, allocations: 117.8 kB / 430.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.1143, allocations: 69.58 kB / 430.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.195e-05/0.1144, allocations: 8.375 kB / 430.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1144, allocations: 0 / 430.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1144, allocations: 0 / 430.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.1144, allocations: 0 / 430.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.1145, allocations: 169.6 kB / 431 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1145, allocations: 4 kB / 431.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.293e-05/0.1146, allocations: 11.88 kB / 431.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.1146, allocations: 0 / 431.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.1146, allocations: 8.297 kB / 431.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1146, allocations: 0 / 431.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1146, allocations: 4 kB / 431.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.1148, allocations: 89.08 kB / 431.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.429e-05/0.1148, allocations: 89.03 kB / 431.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.1148, allocations: 8 kB / 431.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.195e-05/0.1149, allocations: 11.98 kB / 431.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.175e-06/0.1149, allocations: 4 kB / 431.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.1149, allocations: 0 / 431.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.657e-05/0.115, allocations: 87.27 kB / 431.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.115, allocations: 4 kB / 431.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001883/0.1152, allocations: 4 kB / 431.4 MB, free: 15.22 MB / 366.1 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 (pulse.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0006198/0.1158, allocations: 0.6709 MB / 432 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001428/0.1159, allocations: 43.86 kB / 432.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.116, allocations: 448 / 432.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.116, allocations: 4 kB / 432.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.1163, allocations: 42.7 kB / 432.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.1176, allocations: 1.243 MB / 433.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.1179, allocations: 0.6845 MB / 434.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.139e-05/0.1179, allocations: 4 kB / 434.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.833e-05/0.118, allocations: 22.8 kB / 434.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of SimCode: time 7.02e-07/0.118, allocations: 0 / 434.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02368/0.1417, allocations: 1.674 MB / 435.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.568/7.709, allocations: 10.95 kB / 435.8 MB, free: 10.79 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_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_TimeBasedPulse.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable assignClock1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.csv. Warning: Get data of variable assignClock1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.326897596009076]