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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 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: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|pulse.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|pulse.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001803/0.001804, allocations: 104 kB / 16.45 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002949/0.002949, allocations: 190 kB / 17.39 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.74/1.74, allocations: 205.1 MB / 223.3 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08404/0.08404, allocations: 12.59 MB / 283.2 MB, free: 15.4 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 86.98 kB / 394.2 MB, free: 45.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1148, allocations: 49.41 MB / 443.6 MB, free: 384 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002819/0.1176, allocations: 1.482 MB / 445 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009001/0.1186, allocations: 493.4 kB / 445.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.422e-05/0.1187, allocations: 3.938 kB / 445.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.807e-05/0.1187, allocations: 7.922 kB / 445.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002024/0.1189, allocations: 19.88 kB / 445.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.1191, allocations: 35.89 kB / 445.6 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000126/0.1193, allocations: 47.86 kB / 445.6 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.1194, allocations: 15.97 kB / 445.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.605e-05/0.1195, allocations: 27.92 kB / 445.7 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.352e-05/0.1196, allocations: 15.92 kB / 445.7 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.1196, allocations: 4 kB / 445.7 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.338e-05/0.1196, allocations: 4 kB / 445.7 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.59e-05/0.1197, allocations: 15.92 kB / 445.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.744e-05/0.1197, allocations: 23.86 kB / 445.7 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.1199, allocations: 43.83 kB / 445.8 MB, free: 14.13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1199, allocations: 0 / 445.8 MB, free: 14.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1199, allocations: 0 / 445.8 MB, free: 14.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.1199, allocations: 0 / 445.8 MB, free: 14.13 MB / 334.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.0007227/0.1206, allocations: 375.4 kB / 446.2 MB, free: 13.72 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.1207, allocations: 12.03 kB / 446.2 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/0.1207, allocations: 8.844 kB / 446.2 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.121, allocations: 188.2 kB / 446.4 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.121, allocations: 4.375 kB / 446.4 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.121, allocations: 384 / 446.4 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003822/0.1214, allocations: 159.4 kB / 446.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1214, allocations: 0 / 446.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1214, allocations: 0 / 446.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.1214, allocations: 4 kB / 446.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.1215, allocations: 27.98 kB / 446.6 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001958/0.1218, allocations: 165.6 kB / 446.7 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.122, allocations: 135.7 kB / 446.8 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.553e-05/0.1221, allocations: 32.84 kB / 446.9 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.1221, allocations: 0 / 446.9 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.1221, allocations: 46.44 kB / 446.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.1222, allocations: 0 / 446.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002646/0.1224, allocations: 85.77 kB / 447 MB, free: 12.72 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/0.1225, allocations: 55.41 kB / 447.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.554e-05/0.1226, allocations: 105.8 kB / 447.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.1226, allocations: 33.7 kB / 447.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.923e-05/0.1227, allocations: 84.12 kB / 447.3 MB, free: 12.42 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.1227, allocations: 8 kB / 447.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.1227, allocations: 21.72 kB / 447.3 MB, free: 12.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1229, allocations: 314.8 kB / 447.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.936e-05/0.1229, allocations: 12.06 kB / 447.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.09e-05/0.1229, allocations: 45.09 kB / 447.7 MB, free: 11.99 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.935e-05/0.123, allocations: 53.08 kB / 447.7 MB, free: 11.92 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.123, allocations: 4 kB / 447.7 MB, free: 11.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001063/0.1231, allocations: 77.53 kB / 447.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.1231, allocations: 11.94 kB / 447.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1232, allocations: 0 / 447.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.1232, allocations: 0 / 447.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.949e-05/0.1232, allocations: 12 kB / 447.8 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.1233, allocations: 7.938 kB / 447.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.254e-05/0.1233, allocations: 3.984 kB / 447.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.1233, allocations: 4 kB / 447.8 MB, free: 11.8 MB / 334.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 8.591e-05/0.1234, allocations: 118 kB / 448 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.1235, allocations: 73.53 kB / 448 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.485e-05/0.1236, allocations: 8.375 kB / 448 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1236, allocations: 0 / 448 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1236, allocations: 3.984 kB / 448 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1236, allocations: 3.938 kB / 448 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.1237, allocations: 165.6 kB / 448.2 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1237, allocations: 3.938 kB / 448.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.344e-05/0.1238, allocations: 4 kB / 448.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.1238, allocations: 7.922 kB / 448.2 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.1238, allocations: 7.938 kB / 448.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1238, allocations: 4 kB / 448.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1238, allocations: 0 / 448.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/0.124, allocations: 93.23 kB / 448.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.708e-05/0.1241, allocations: 92.95 kB / 448.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.1241, allocations: 0 / 448.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.735e-05/0.1242, allocations: 15.98 kB / 448.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-06/0.1242, allocations: 0 / 448.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.1242, allocations: 4 kB / 448.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.04e-05/0.1242, allocations: 87.73 kB / 448.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1243, allocations: 0 / 448.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001979/0.1245, allocations: 12 kB / 448.5 MB, free: 11 MB / 334.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.000111/0.1246, allocations: 99.19 kB / 448.6 MB, free: 10.9 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001443/0.1247, allocations: 39.92 kB / 448.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1247, allocations: 0 / 448.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.813e-06/0.1247, allocations: 4 kB / 448.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.1251, allocations: 36 kB / 448.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003372/0.1254, allocations: 133.6 kB / 448.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.1257, allocations: 0.6888 MB / 449.5 MB, free: 9.949 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.124e-05/0.1257, allocations: 7.75 kB / 449.5 MB, free: 9.941 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.032e-05/0.1257, allocations: 15.38 kB / 449.5 MB, free: 9.926 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1257, allocations: 0 / 449.5 MB, free: 9.926 MB / 334.1 MB Notification: Performance of Templates: time 0.002881/0.1286, allocations: 0.6682 MB / 450.2 MB, free: 9.258 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile (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 & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches