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: 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/Complex 3.2.3+maint.om/package.mo): time 0.0009278/0.0009279, allocations: 168.9 kB / 16.8 MB, free: 4.992 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.502/1.502, allocations: 205.4 MB / 223 MB, free: 9.008 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.0008233/0.0008228, allocations: 93.5 kB / 271.3 MB, free: 8.238 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.07675/0.07675, allocations: 12.6 MB / 332.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003555, allocations: 12 kB / 393.3 MB, free: 65.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08522/0.08559, allocations: 50.38 MB / 443.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.001409/0.08705, allocations: 1.203 MB / 444.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000616/0.08769, allocations: 475.9 kB / 445.4 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.563e-05/0.08776, allocations: 0 / 445.4 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.173e-05/0.0878, allocations: 11.92 kB / 445.4 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001477/0.08795, allocations: 3.938 kB / 445.4 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/0.08813, allocations: 35.97 kB / 445.4 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.582e-05/0.08821, allocations: 51.78 kB / 445.5 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.374e-05/0.08831, allocations: 12 kB / 445.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.581e-05/0.08837, allocations: 23.84 kB / 445.5 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.169e-05/0.08842, allocations: 19.92 kB / 445.5 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.08845, allocations: 4 kB / 445.5 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.211e-05/0.08847, allocations: 0 / 445.5 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.08849, allocations: 7.938 kB / 445.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.08854, allocations: 41.62 kB / 445.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.789e-05/0.08861, allocations: 36.16 kB / 445.6 MB, free: 13.49 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.08862, allocations: 4 kB / 445.6 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.08863, allocations: 0 / 445.6 MB, free: 13.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.08864, allocations: 0 / 445.6 MB, free: 13.48 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.0004523/0.0891, allocations: 371.2 kB / 446 MB, free: 13.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.08914, allocations: 12.03 kB / 446 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.08918, allocations: 4.938 kB / 446 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.08933, allocations: 188.2 kB / 446.2 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.08935, allocations: 384 / 446.2 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.08937, allocations: 8.375 kB / 446.2 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003114/0.08969, allocations: 143.5 kB / 446.3 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.557e-06/0.08971, allocations: 8 kB / 446.3 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.08972, allocations: 3.984 kB / 446.3 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.08973, allocations: 4 kB / 446.3 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.698e-05/0.08984, allocations: 27.98 kB / 446.4 MB, free: 12.63 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001031/0.08995, allocations: 165.6 kB / 446.5 MB, free: 12.42 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.09011, allocations: 139.7 kB / 446.7 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.269e-05/0.09019, allocations: 28.84 kB / 446.7 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.09022, allocations: 4 kB / 446.7 MB, free: 12.22 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.09024, allocations: 38.5 kB / 446.7 MB, free: 12.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.09025, allocations: 0 / 446.7 MB, free: 12.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002282/0.09048, allocations: 93.56 kB / 446.8 MB, free: 12.08 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.09053, allocations: 63.34 kB / 446.9 MB, free: 12 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.223e-05/0.0906, allocations: 105.8 kB / 447 MB, free: 11.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.09061, allocations: 29.7 kB / 447 MB, free: 11.86 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.258e-05/0.09064, allocations: 84.14 kB / 447.1 MB, free: 11.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.215e-05/0.09066, allocations: 7.938 kB / 447.1 MB, free: 11.76 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.09067, allocations: 0 / 447.1 MB, free: 11.76 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.227e-05/0.09071, allocations: 314.8 kB / 447.4 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.476e-05/0.09073, allocations: 8 kB / 447.4 MB, free: 11.44 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.543e-05/0.09077, allocations: 45.47 kB / 447.5 MB, free: 11.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.66e-05/0.09082, allocations: 65.08 kB / 447.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.09083, allocations: 0 / 447.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.362e-05/0.09092, allocations: 77.47 kB / 447.6 MB, free: 11.21 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.09093, allocations: 7.938 kB / 447.6 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.09094, allocations: 160 / 447.6 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.09096, allocations: 11.88 kB / 447.6 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.297e-05/0.09101, allocations: 11.94 kB / 447.6 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.09102, allocations: 4.172 kB / 447.6 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.064e-05/0.09106, allocations: 8 kB / 447.6 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.09107, allocations: 0 / 447.6 MB, free: 11.17 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 5.988e-05/0.09114, allocations: 118.7 kB / 447.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.09127, allocations: 81.47 kB / 447.8 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.209e-05/0.09131, allocations: 8.375 kB / 447.8 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.09132, allocations: 0 / 447.8 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.09133, allocations: 0 / 447.8 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.09134, allocations: 3.984 kB / 447.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.395e-05/0.0914, allocations: 165.7 kB / 448 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.09141, allocations: 0 / 448 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.617e-05/0.09146, allocations: 4.312 kB / 448 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.09147, allocations: 3.938 kB / 448 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.09148, allocations: 7.984 kB / 448 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.09149, allocations: 4 kB / 448 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.09149, allocations: 0 / 448 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.09163, allocations: 105 kB / 448.1 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.095e-05/0.09166, allocations: 84.95 kB / 448.2 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.09168, allocations: 4 kB / 448.2 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.018e-05/0.09177, allocations: 11.98 kB / 448.2 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-06/0.09178, allocations: 0 / 448.2 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.09179, allocations: 4 kB / 448.2 MB, free: 10.47 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.891e-05/0.09182, allocations: 87.27 kB / 448.3 MB, free: 10.39 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09183, allocations: 0 / 448.3 MB, free: 10.39 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001831/0.09202, allocations: 16 kB / 448.3 MB, free: 10.37 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 6.669e-05/0.09209, allocations: 91.25 kB / 448.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001182/0.09222, allocations: 39.92 kB / 448.5 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.09223, allocations: 0 / 448.5 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.09224, allocations: 0 / 448.5 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.09256, allocations: 52.27 kB / 448.5 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002878/0.09285, allocations: 178.6 kB / 448.7 MB, free: 9.977 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.09299, allocations: 0.6809 MB / 449.4 MB, free: 9.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.663e-05/0.09302, allocations: 11.44 kB / 449.4 MB, free: 9.258 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.09303, allocations: 0 / 449.4 MB, free: 9.258 MB / 298.7 MB Notification: Performance of Templates: time 0.001904/0.09494, allocations: 0.7637 MB / 450.1 MB, free: 8.496 MB / 298.7 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/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