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.001384/0.001384, allocations: 184.6 kB / 16.45 MB, free: 5.656 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.36/1.36, allocations: 205.4 MB / 222.6 MB, free: 9.105 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.0007204/0.0007204, allocations: 88.86 kB / 270.9 MB, free: 8.355 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.07548/0.07548, allocations: 12.6 MB / 331.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004337/0.0004337, allocations: 16 kB / 392.7 MB, free: 66.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07578/0.07624, allocations: 50.37 MB / 443 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.0014/0.07768, allocations: 1.183 MB / 444.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006267/0.07834, allocations: 480.1 kB / 444.7 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.941e-05/0.07844, allocations: 4 kB / 444.7 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.821e-05/0.07847, allocations: 0 / 444.7 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001396/0.07862, allocations: 11.91 kB / 444.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.07881, allocations: 39.78 kB / 444.7 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.737e-05/0.07891, allocations: 43.86 kB / 444.8 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.07901, allocations: 15.98 kB / 444.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.669e-05/0.07912, allocations: 15.88 kB / 444.8 MB, free: 14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.074e-05/0.07918, allocations: 27.84 kB / 444.8 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.0792, allocations: 0 / 444.8 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.319e-05/0.07922, allocations: 4 kB / 444.8 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.07924, allocations: 7.984 kB / 444.9 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.07928, allocations: 29.7 kB / 444.9 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.754e-05/0.07935, allocations: 28.17 kB / 444.9 MB, free: 13.9 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.07936, allocations: 0 / 444.9 MB, free: 13.9 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.07937, allocations: 0 / 444.9 MB, free: 13.9 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.07938, allocations: 4 kB / 444.9 MB, free: 13.89 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.0004669/0.07985, allocations: 375.1 kB / 445.3 MB, free: 13.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.07989, allocations: 12.03 kB / 445.3 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.186e-05/0.07993, allocations: 0 / 445.3 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.08008, allocations: 186.9 kB / 445.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.08011, allocations: 0 / 445.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.08013, allocations: 8 kB / 445.5 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000318/0.08045, allocations: 143.2 kB / 445.6 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.08047, allocations: 0 / 445.6 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.08049, allocations: 0 / 445.6 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.0805, allocations: 0 / 445.6 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.768e-05/0.0806, allocations: 39.92 kB / 445.7 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001083/0.08072, allocations: 165.6 kB / 445.8 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.0809, allocations: 135.7 kB / 446 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.714e-05/0.08097, allocations: 28.84 kB / 446 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.081, allocations: 4 kB / 446 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.172e-05/0.08102, allocations: 38.56 kB / 446 MB, free: 12.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.08103, allocations: 3.938 kB / 446 MB, free: 12.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002332/0.08127, allocations: 89.59 kB / 446.1 MB, free: 12.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.08131, allocations: 59.31 kB / 446.2 MB, free: 12.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.174e-05/0.08138, allocations: 109.8 kB / 446.3 MB, free: 12.31 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.08139, allocations: 33.64 kB / 446.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.092e-05/0.08142, allocations: 84.14 kB / 446.4 MB, free: 12.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.025e-05/0.08143, allocations: 7.938 kB / 446.4 MB, free: 12.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-06/0.08144, allocations: 4 kB / 446.4 MB, free: 12.17 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.213e-05/0.08149, allocations: 314.8 kB / 446.7 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.355e-05/0.08151, allocations: 8 kB / 446.7 MB, free: 11.85 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.509e-05/0.08154, allocations: 41.16 kB / 446.8 MB, free: 11.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.553e-05/0.08157, allocations: 19.94 kB / 446.8 MB, free: 11.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.08158, allocations: 0 / 446.8 MB, free: 11.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.806e-05/0.08167, allocations: 77.5 kB / 446.9 MB, free: 11.69 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.08169, allocations: 12.19 kB / 446.9 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.0817, allocations: 0 / 446.9 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.08172, allocations: 0 / 446.9 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.333e-05/0.08177, allocations: 8 kB / 446.9 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.08178, allocations: 4 kB / 446.9 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.421e-05/0.08182, allocations: 4.156 kB / 446.9 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.08183, allocations: 8 kB / 446.9 MB, free: 11.65 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.192e-05/0.08188, allocations: 122.4 kB / 447 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.08201, allocations: 77.62 kB / 447.1 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.853e-05/0.08204, allocations: 12.36 kB / 447.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.08205, allocations: 4 kB / 447.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.08206, allocations: 0 / 447.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.08207, allocations: 0 / 447.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.274e-05/0.08212, allocations: 161.6 kB / 447.3 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.08213, allocations: 0 / 447.3 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.792e-05/0.08218, allocations: 12 kB / 447.3 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.08219, allocations: 3.953 kB / 447.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.08221, allocations: 0 / 447.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.08221, allocations: 3.938 kB / 447.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.08222, allocations: 4 kB / 447.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.08236, allocations: 97.02 kB / 447.4 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.136e-05/0.08239, allocations: 89 kB / 447.5 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.08241, allocations: 3.953 kB / 447.5 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.249e-05/0.0825, allocations: 19.92 kB / 447.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-06/0.08251, allocations: 8 kB / 447.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-06/0.08252, allocations: 0 / 447.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.928e-05/0.08255, allocations: 83.75 kB / 447.6 MB, free: 10.86 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.08256, allocations: 0 / 447.6 MB, free: 10.86 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000193/0.08276, allocations: 11.94 kB / 447.6 MB, free: 10.85 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.296e-05/0.08284, allocations: 95.23 kB / 447.7 MB, free: 10.75 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001134/0.08296, allocations: 44.23 kB / 447.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.08297, allocations: 4 kB / 447.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.08298, allocations: 0 / 447.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.0833, allocations: 52.02 kB / 447.8 MB, free: 10.65 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002539/0.08356, allocations: 170.4 kB / 447.9 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.929e-05/0.08368, allocations: 0.6849 MB / 448.6 MB, free: 9.742 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.344e-05/0.08371, allocations: 11.44 kB / 448.6 MB, free: 9.73 MB / 298.7 MB Notification: Performance of SimCode: time 3.81e-07/0.08371, allocations: 0 / 448.6 MB, free: 9.73 MB / 298.7 MB Notification: Performance of Templates: time 0.00169/0.08541, allocations: 0.7539 MB / 449.4 MB, free: 8.977 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