Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009628/0.0009629, allocations: 175.8 kB / 16.11 MB, free: 5.691 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.584/1.584, allocations: 205 MB / 221.9 MB, free: 9.148 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007124/0.0007124, allocations: 93.34 kB / 269.9 MB, free: 8.66 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08402/0.08402, allocations: 12.57 MB / 330.4 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003345/0.0003346, allocations: 12 kB / 391.2 MB, free: 66.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08853/0.08888, allocations: 49.99 MB / 441.1 MB, free: 16.29 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.001611/0.09054, allocations: 1.206 MB / 442.4 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006788/0.09125, allocations: 487.7 kB / 442.8 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.996e-05/0.09131, allocations: 4 kB / 442.8 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.455e-05/0.09135, allocations: 4 kB / 442.8 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.09148, allocations: 7.922 kB / 442.8 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.09166, allocations: 31.91 kB / 442.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.374e-05/0.09173, allocations: 47.8 kB / 442.9 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.46e-05/0.09182, allocations: 20.25 kB / 442.9 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.367e-05/0.09186, allocations: 11.94 kB / 443 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.717e-05/0.09191, allocations: 19.91 kB / 443 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.09193, allocations: 4 kB / 443 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.866e-06/0.09195, allocations: 4 kB / 443 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.09197, allocations: 11.94 kB / 443 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.964e-05/0.092, allocations: 19.91 kB / 443 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.847e-05/0.09208, allocations: 43.77 kB / 443.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.09209, allocations: 0 / 443.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.09209, allocations: 0 / 443.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.0921, allocations: 0 / 443.1 MB, free: 14.36 MB / 298.7 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.00037/0.09248, allocations: 375.2 kB / 443.4 MB, free: 13.95 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.792e-05/0.09251, allocations: 8.031 kB / 443.4 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.294e-05/0.09254, allocations: 34.75 kB / 443.5 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.892e-05/0.09257, allocations: 0.9375 kB / 443.5 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.09269, allocations: 184.3 kB / 443.6 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.09271, allocations: 8.375 kB / 443.7 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-06/0.09272, allocations: 384 / 443.7 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002667/0.09299, allocations: 151.3 kB / 443.8 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.489e-06/0.09301, allocations: 0 / 443.8 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.09302, allocations: 4 kB / 443.8 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.09303, allocations: 4 kB / 443.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.524e-05/0.09312, allocations: 31.91 kB / 443.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.991e-05/0.09321, allocations: 161.7 kB / 444 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.09336, allocations: 143.7 kB / 444.1 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.051e-05/0.09343, allocations: 32.84 kB / 444.2 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.09346, allocations: 3.984 kB / 444.2 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.15e-05/0.09347, allocations: 34.5 kB / 444.2 MB, free: 13.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.09348, allocations: 4 kB / 444.2 MB, free: 13.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001972/0.09368, allocations: 93.52 kB / 444.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.09372, allocations: 59.34 kB / 444.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.482e-05/0.09378, allocations: 109.8 kB / 444.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.857e-06/0.0938, allocations: 25.7 kB / 444.5 MB, free: 12.7 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.07e-05/0.09383, allocations: 92.14 kB / 444.6 MB, free: 12.6 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.047e-06/0.09384, allocations: 3.938 kB / 444.6 MB, free: 12.6 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.987e-05/0.09387, allocations: 21.7 kB / 444.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.656e-05/0.09392, allocations: 314.8 kB / 444.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.227e-05/0.09394, allocations: 8 kB / 444.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.538e-05/0.09397, allocations: 45.14 kB / 445 MB, free: 12.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.94e-05/0.09401, allocations: 57.03 kB / 445 MB, free: 12.11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.09402, allocations: 0 / 445 MB, free: 12.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.114e-05/0.09411, allocations: 77.41 kB / 445.1 MB, free: 12.03 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.308e-06/0.09412, allocations: 8.188 kB / 445.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.09413, allocations: 4 kB / 445.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.09415, allocations: 7.984 kB / 445.1 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.358e-05/0.09418, allocations: 8 kB / 445.1 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.09419, allocations: 4 kB / 445.1 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.717e-05/0.09423, allocations: 3.938 kB / 445.1 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.09423, allocations: 4.25 kB / 445.1 MB, free: 11.99 MB / 298.7 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 4.642e-05/0.09429, allocations: 121.8 kB / 445.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.0944, allocations: 77.52 kB / 445.3 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.499e-05/0.09443, allocations: 20.36 kB / 445.4 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.09444, allocations: 0 / 445.4 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.604e-06/0.09445, allocations: 0 / 445.4 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.09445, allocations: 0 / 445.4 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.969e-05/0.09451, allocations: 161.6 kB / 445.5 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.09452, allocations: 0 / 445.5 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.258e-05/0.09456, allocations: 11.94 kB / 445.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.09457, allocations: 3.938 kB / 445.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.09458, allocations: 0 / 445.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.09459, allocations: 0 / 445.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.0946, allocations: 8 kB / 445.5 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.09473, allocations: 97.11 kB / 445.6 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.943e-05/0.09477, allocations: 88.89 kB / 445.7 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.09479, allocations: 0 / 445.7 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.666e-05/0.09487, allocations: 15.98 kB / 445.7 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-06/0.09488, allocations: 7.984 kB / 445.7 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.09489, allocations: 0 / 445.7 MB, free: 11.29 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.96e-05/0.09493, allocations: 91.22 kB / 445.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.09493, allocations: 0 / 445.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001678/0.0951, allocations: 8 kB / 445.8 MB, free: 11.19 MB / 298.7 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.0003472/0.09546, allocations: 0.6671 MB / 446.5 MB, free: 10.49 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001123/0.09558, allocations: 43.98 kB / 446.5 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.09559, allocations: 0 / 446.5 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.0956, allocations: 0 / 446.5 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.09587, allocations: 36.02 kB / 446.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006978/0.09658, allocations: 1.249 MB / 447.8 MB, free: 9.051 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.924e-05/0.09669, allocations: 0.6926 MB / 448.5 MB, free: 8.332 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.54e-05/0.09672, allocations: 0 / 448.5 MB, free: 8.332 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.916e-05/0.09675, allocations: 15.42 kB / 448.5 MB, free: 8.316 MB / 298.7 MB Notification: Performance of SimCode: time 3.4e-07/0.09676, allocations: 0 / 448.5 MB, free: 8.316 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01501/0.1118, allocations: 1.443 MB / 450 MB, free: 6.871 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/0.112, allocations: 242.5 kB / 450.2 MB, free: 6.605 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.598/1.71, allocations: 4.062 kB / 450.2 MB, free: 6.602 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedPulse_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedPulse.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches