Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 119.9 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 185.2 kB / 20.73 MB, free: 2.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 225.6 MB / 249.1 MB, free: 3.59 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 51.91 kB / 365.6 MB, free: 0.832 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1033, allocations: 52.14 MB / 417.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002687/0.106, allocations: 1.491 MB / 419.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007629/0.1068, allocations: 458.8 kB / 419.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.957e-05/0.1068, allocations: 8 kB / 419.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.215e-05/0.1069, allocations: 7.922 kB / 419.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.107, allocations: 11.86 kB / 419.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001685/0.1072, allocations: 35.91 kB / 419.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.877e-05/0.1073, allocations: 51.84 kB / 419.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.817e-05/0.1074, allocations: 7.984 kB / 419.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.338e-05/0.1074, allocations: 15.94 kB / 419.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.78e-05/0.1075, allocations: 31.84 kB / 419.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.1075, allocations: 4 kB / 419.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.079e-05/0.1075, allocations: 4 kB / 419.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.382e-05/0.1075, allocations: 11.98 kB / 419.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.702e-05/0.1076, allocations: 27.86 kB / 419.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.1077, allocations: 55.73 kB / 420 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1077, allocations: 0 / 420 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1077, allocations: 0 / 420 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.1077, allocations: 0 / 420 MB, free: 10.38 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.0005844/0.1083, allocations: 383.2 kB / 420.4 MB, free: 9.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.1083, allocations: 12.03 kB / 420.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.226e-05/0.1084, allocations: 30.75 kB / 420.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.536e-05/0.1084, allocations: 8.891 kB / 420.4 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.1086, allocations: 180.3 kB / 420.6 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.1086, allocations: 8.359 kB / 420.6 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.1086, allocations: 4.375 kB / 420.6 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003571/0.109, allocations: 147.2 kB / 420.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.109, allocations: 3.938 kB / 420.7 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.109, allocations: 3.984 kB / 420.7 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.109, allocations: 0 / 420.7 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.281e-05/0.1091, allocations: 27.98 kB / 420.8 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001651/0.1093, allocations: 169.7 kB / 420.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.1095, allocations: 127.7 kB / 421.1 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.819e-05/0.1095, allocations: 28.84 kB / 421.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.1096, allocations: 0 / 421.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.1096, allocations: 46.44 kB / 421.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.554e-06/0.1096, allocations: 3.984 kB / 421.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002411/0.1098, allocations: 81.67 kB / 421.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.1099, allocations: 55.41 kB / 421.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.11, allocations: 113.8 kB / 421.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.11, allocations: 29.7 kB / 421.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.38e-05/0.1101, allocations: 80.14 kB / 421.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.1101, allocations: 15.92 kB / 421.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.1102, allocations: 17.72 kB / 421.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1103, allocations: 314.8 kB / 421.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.577e-05/0.1103, allocations: 11.98 kB / 421.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.066e-05/0.1104, allocations: 49.09 kB / 421.9 MB, free: 8.199 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.32e-05/0.1105, allocations: 57.09 kB / 421.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1105, allocations: 0 / 421.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001587/0.1107, allocations: 81.48 kB / 422 MB, free: 8.039 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.1107, allocations: 4 kB / 422 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1107, allocations: 0 / 422 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.1107, allocations: 8.188 kB / 422 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.635e-05/0.1108, allocations: 8 kB / 422 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.1108, allocations: 3.938 kB / 422 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.137e-05/0.1108, allocations: 11.95 kB / 422.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-06/0.1108, allocations: 3.938 kB / 422.1 MB, free: 8 MB / 350.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 0.000102/0.1109, allocations: 114.1 kB / 422.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/0.1111, allocations: 73.61 kB / 422.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.438e-05/0.1111, allocations: 8.375 kB / 422.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.1111, allocations: 8 kB / 422.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1111, allocations: 0 / 422.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1111, allocations: 0 / 422.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.1113, allocations: 169.6 kB / 422.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1113, allocations: 0 / 422.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.124e-05/0.1114, allocations: 15.88 kB / 422.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1114, allocations: 0 / 422.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.1114, allocations: 3.938 kB / 422.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1114, allocations: 0 / 422.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.1114, allocations: 3.984 kB / 422.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.1116, allocations: 93.12 kB / 422.5 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.387e-05/0.1116, allocations: 92.98 kB / 422.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.1117, allocations: 0 / 422.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.1118, allocations: 15.98 kB / 422.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-06/0.1118, allocations: 0 / 422.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.1118, allocations: 0 / 422.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.43e-05/0.1118, allocations: 95.73 kB / 422.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1118, allocations: 0 / 422.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003035/0.1121, allocations: 8 kB / 422.8 MB, free: 7.211 MB / 350.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.0006868/0.1128, allocations: 0.667 MB / 423.4 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001542/0.113, allocations: 40.17 kB / 423.5 MB, free: 6.477 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.113, allocations: 4 kB / 423.5 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.113, allocations: 0 / 423.5 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.1134, allocations: 52.09 kB / 423.5 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.1147, allocations: 1.239 MB / 424.8 MB, free: 5.074 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.115, allocations: 0.6922 MB / 425.4 MB, free: 4.355 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.686e-05/0.115, allocations: 4 kB / 425.4 MB, free: 4.352 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.314e-05/0.1151, allocations: 19.42 kB / 425.5 MB, free: 4.332 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1151, allocations: 0 / 425.5 MB, free: 4.332 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02287/0.1379, allocations: 1.673 MB / 427.1 MB, free: 2.805 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.62/7.758, allocations: 8.484 kB / 427.1 MB, free: 2.797 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.140881699044257]