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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001324/0.001324, allocations: 113.9 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001569/0.001569, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.541/1.541, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 65.98 kB / 306.6 MB, free: 0.8477 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1061, allocations: 50.52 MB / 357.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.003341/0.1095, allocations: 1.562 MB / 358.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.1105, allocations: 486.8 kB / 359.1 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.923e-05/0.1106, allocations: 0 / 359.1 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.983e-05/0.1107, allocations: 0 / 359.1 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001831/0.1109, allocations: 15.84 kB / 359.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.1111, allocations: 31.91 kB / 359.2 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.1112, allocations: 51.86 kB / 359.2 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1114, allocations: 11.98 kB / 359.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.897e-05/0.1115, allocations: 15.94 kB / 359.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.852e-05/0.1115, allocations: 23.91 kB / 359.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.1115, allocations: 4 kB / 359.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.345e-05/0.1116, allocations: 4 kB / 359.3 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.65e-05/0.1116, allocations: 11.92 kB / 359.3 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.624e-05/0.1116, allocations: 27.92 kB / 359.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.1118, allocations: 48.08 kB / 359.4 MB, free: 12.03 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.1118, allocations: 4 kB / 359.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1118, allocations: 3.938 kB / 359.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.1118, allocations: 0 / 359.4 MB, free: 12.02 MB / 302.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.0006526/0.1125, allocations: 383.3 kB / 359.7 MB, free: 11.6 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.1125, allocations: 8.031 kB / 359.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.472e-05/0.1126, allocations: 38.75 kB / 359.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.1126, allocations: 0.9375 kB / 359.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.1129, allocations: 184.2 kB / 360 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.1129, allocations: 4.375 kB / 360 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.1129, allocations: 384 / 360 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003971/0.1133, allocations: 151.3 kB / 360.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.1133, allocations: 0 / 360.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.1134, allocations: 4 kB / 360.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1134, allocations: 3.938 kB / 360.1 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.1135, allocations: 31.97 kB / 360.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001541/0.1136, allocations: 165.6 kB / 360.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.1139, allocations: 135.7 kB / 360.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.5e-05/0.1139, allocations: 24.86 kB / 360.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.114, allocations: 4 kB / 360.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.114, allocations: 42.48 kB / 360.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.114, allocations: 0 / 360.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002945/0.1143, allocations: 85.7 kB / 360.6 MB, free: 10.58 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.1144, allocations: 63.34 kB / 360.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.78e-05/0.1145, allocations: 109.8 kB / 360.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.1145, allocations: 29.7 kB / 360.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.093e-05/0.1145, allocations: 84.14 kB / 360.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.1146, allocations: 4 kB / 360.9 MB, free: 10.26 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/0.1146, allocations: 21.7 kB / 360.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.1147, allocations: 314.8 kB / 361.2 MB, free: 9.918 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.01e-05/0.1148, allocations: 12.06 kB / 361.2 MB, free: 9.906 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.441e-05/0.1148, allocations: 53.08 kB / 361.3 MB, free: 9.836 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.461e-05/0.1149, allocations: 49.09 kB / 361.3 MB, free: 9.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.1149, allocations: 0 / 361.3 MB, free: 9.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001186/0.115, allocations: 81.41 kB / 361.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.115, allocations: 4 kB / 361.4 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.1151, allocations: 4 kB / 361.4 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.1151, allocations: 0 / 361.4 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.487e-05/0.1152, allocations: 15.98 kB / 361.4 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.1152, allocations: 192 / 361.4 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.724e-05/0.1152, allocations: 15.88 kB / 361.5 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.1152, allocations: 4 kB / 361.5 MB, free: 9.641 MB / 302.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.0001187/0.1154, allocations: 121.7 kB / 361.6 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.1155, allocations: 69.52 kB / 361.6 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.284e-05/0.1156, allocations: 16.38 kB / 361.7 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.1156, allocations: 0 / 361.7 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1156, allocations: 0 / 361.7 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1156, allocations: 0 / 361.7 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.1157, allocations: 161.7 kB / 361.8 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1158, allocations: 3.984 kB / 361.8 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.303e-05/0.1158, allocations: 15.88 kB / 361.8 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1158, allocations: 0 / 361.8 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.1158, allocations: 0 / 361.8 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1158, allocations: 0 / 361.8 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1158, allocations: 0 / 361.8 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.116, allocations: 101.1 kB / 361.9 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.332e-05/0.1161, allocations: 89.05 kB / 362 MB, free: 8.973 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.1161, allocations: 4 kB / 362 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.144e-05/0.1162, allocations: 19.91 kB / 362 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.826e-06/0.1163, allocations: 0 / 362 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.1163, allocations: 4 kB / 362 MB, free: 8.945 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.568e-05/0.1163, allocations: 83.28 kB / 362.1 MB, free: 8.863 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1163, allocations: 0 / 362.1 MB, free: 8.863 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000208/0.1166, allocations: 12 kB / 362.1 MB, free: 8.852 MB / 302.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.0006678/0.1172, allocations: 0.667 MB / 362.8 MB, free: 8.152 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000165/0.1174, allocations: 43.92 kB / 362.9 MB, free: 8.109 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1174, allocations: 448 / 362.9 MB, free: 8.109 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.12e-07/0.1174, allocations: 4 kB / 362.9 MB, free: 8.105 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.1179, allocations: 45.89 kB / 362.9 MB, free: 8.066 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.1192, allocations: 1.259 MB / 364.2 MB, free: 6.695 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.1196, allocations: 0.6846 MB / 364.8 MB, free: 5.984 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.776e-05/0.1196, allocations: 4 kB / 364.8 MB, free: 5.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.114e-05/0.1197, allocations: 19.42 kB / 364.9 MB, free: 5.961 MB / 302.1 MB Notification: Performance of SimCode: time 7.02e-07/0.1197, allocations: 0 / 364.9 MB, free: 5.961 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.013/0.1327, allocations: 1.559 MB / 366.4 MB, free: 4.57 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002642/0.1331, allocations: 223.3 kB / 366.6 MB, free: 4.312 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.025/2.158, allocations: 0 / 366.6 MB, free: 4.312 MB / 302.1 MB (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 --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) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches