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.001287/0.001287, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.001328/0.001328, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.453/1.453, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.001827/0.001827, allocations: 59.89 kB / 373.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1155, allocations: 53.33 MB / 426.7 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002789/0.1183, allocations: 1.5 MB / 428.2 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008735/0.1192, allocations: 498.8 kB / 428.6 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.461e-05/0.1193, allocations: 0 / 428.6 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.424e-05/0.1193, allocations: 3.938 kB / 428.6 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.1195, allocations: 19.84 kB / 428.7 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001708/0.1196, allocations: 35.91 kB / 428.7 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.1197, allocations: 51.78 kB / 428.8 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.552e-05/0.1198, allocations: 8 kB / 428.8 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.064e-05/0.1199, allocations: 23.92 kB / 428.8 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.818e-05/0.12, allocations: 27.91 kB / 428.8 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.12, allocations: 4 kB / 428.8 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.205e-05/0.12, allocations: 4 kB / 428.8 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.12, allocations: 7.984 kB / 428.8 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.257e-05/0.1201, allocations: 27.8 kB / 428.9 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.1202, allocations: 51.75 kB / 428.9 MB, free: 2.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.1202, allocations: 3.984 kB / 428.9 MB, free: 2.766 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1202, allocations: 3.938 kB / 428.9 MB, free: 2.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.1202, allocations: 0 / 428.9 MB, free: 2.762 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.0006205/0.1208, allocations: 375.3 kB / 429.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.1209, allocations: 8.031 kB / 429.3 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.067e-05/0.1209, allocations: 38.73 kB / 429.3 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.595e-05/0.1209, allocations: 4.891 kB / 429.3 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.1212, allocations: 184.3 kB / 429.5 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.1212, allocations: 8.375 kB / 429.5 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.1212, allocations: 384 / 429.5 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003634/0.1216, allocations: 147.3 kB / 429.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1216, allocations: 0 / 429.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.1216, allocations: 4 kB / 429.7 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1216, allocations: 0 / 429.7 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.1217, allocations: 31.97 kB / 429.7 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001703/0.1219, allocations: 161.7 kB / 429.9 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.1221, allocations: 131.7 kB / 430 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.026e-05/0.1221, allocations: 24.86 kB / 430 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.1222, allocations: 7.938 kB / 430 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/0.1222, allocations: 42.48 kB / 430.1 MB, free: 1.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.81e-07/0.1222, allocations: 0 / 430.1 MB, free: 1.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002521/0.1225, allocations: 81.62 kB / 430.1 MB, free: 1.336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/0.1225, allocations: 59.66 kB / 430.2 MB, free: 1.266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.987e-05/0.1226, allocations: 109.8 kB / 430.3 MB, free: 1.148 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.1226, allocations: 29.7 kB / 430.3 MB, free: 1.113 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.574e-05/0.1227, allocations: 88.14 kB / 430.4 MB, free: 1.023 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.349e-05/0.1227, allocations: 3.938 kB / 430.4 MB, free: 1.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.916e-05/0.1227, allocations: 33.7 kB / 430.5 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1229, allocations: 314.8 kB / 430.8 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.829e-05/0.1229, allocations: 11.94 kB / 430.8 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.969e-05/0.123, allocations: 53.08 kB / 430.8 MB, free: 0.582 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.042e-05/0.123, allocations: 53.09 kB / 430.9 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.123, allocations: 0 / 430.9 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001145/0.1231, allocations: 85.44 kB / 431 MB, free: 432 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1232, allocations: 8 kB / 431 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1232, allocations: 0 / 431 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.1232, allocations: 0 / 431 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.644e-05/0.1232, allocations: 15.92 kB / 431 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.1232, allocations: 4 kB / 431 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.105e-05/0.1233, allocations: 4 kB / 431 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.1233, allocations: 4 kB / 431 MB, free: 396 kB / 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 9.228e-05/0.1234, allocations: 118 kB / 431.1 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.1235, allocations: 73.56 kB / 431.2 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.101e-05/0.1235, allocations: 8.375 kB / 431.2 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.1235, allocations: 3.938 kB / 431.2 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1235, allocations: 0 / 431.2 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1235, allocations: 0 / 431.2 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.1237, allocations: 165.7 kB / 431.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.1237, allocations: 3.984 kB / 431.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.459e-05/0.1237, allocations: 7.938 kB / 431.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1237, allocations: 4 kB / 431.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.1237, allocations: 0 / 431.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1237, allocations: 4 kB / 431.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1237, allocations: 0 / 431.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.1239, allocations: 93.19 kB / 431.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-05/0.124, allocations: 85.05 kB / 431.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.124, allocations: 8 kB / 431.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.428e-05/0.1241, allocations: 19.97 kB / 431.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-06/0.1241, allocations: 0 / 431.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.1241, allocations: 4 kB / 431.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.928e-05/0.1241, allocations: 91.12 kB / 431.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1241, allocations: 0 / 431.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000185/0.1243, allocations: 11.94 kB / 431.7 MB, free: 15.6 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.000578/0.1249, allocations: 0.6632 MB / 432.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001394/0.125, allocations: 39.92 kB / 432.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.125, allocations: 0 / 432.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.125, allocations: 0 / 432.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.1253, allocations: 55 kB / 432.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.1265, allocations: 1.237 MB / 433.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.1269, allocations: 0.6884 MB / 434.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.958e-05/0.1269, allocations: 4 kB / 434.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.269e-05/0.1269, allocations: 15.44 kB / 434.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1269, allocations: 0 / 434.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02406/0.151, allocations: 1.677 MB / 436.1 MB, free: 11.19 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.972/8.123, allocations: 8.062 kB / 436.1 MB, free: 11.18 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.69640527293086]