Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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/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/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_cpp_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_cpp_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.00103/0.001031, allocations: 181.6 kB / 17.46 MB, free: 4.355 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.328/1.328, allocations: 205.4 MB / 223.6 MB, free: 9.012 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.0007024/0.0007024, allocations: 99.48 kB / 272 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06274/0.06274, allocations: 12.2 MB / 332.4 MB, free: 11.64 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003807/0.0003808, allocations: 16 kB / 392.7 MB, free: 67.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06998/0.07037, allocations: 50.29 MB / 443 MB, free: 16.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2489/0.3193, allocations: 78.04 MB / 0.5088 GB, free: 13.04 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.3196, allocations: 76.94 kB / 0.5089 GB, free: 13.04 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003115/0.3227, allocations: 1.3 MB / 0.5102 GB, free: 12.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3227, allocations: 2.297 kB / 0.5102 GB, free: 12.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.3228, allocations: 0 / 0.5102 GB, free: 12.68 MB / 330.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.0003292/0.3231, allocations: 371.8 kB / 0.5105 GB, free: 12.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.3231, allocations: 7.812 kB / 0.5105 GB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.076e-05/0.3232, allocations: 12.12 kB / 0.5106 GB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.3233, allocations: 181.3 kB / 0.5107 GB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.3233, allocations: 3.812 kB / 0.5107 GB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.3233, allocations: 4.281 kB / 0.5107 GB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.3236, allocations: 149.9 kB / 0.5109 GB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.3236, allocations: 192 / 0.5109 GB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.3237, allocations: 3.938 kB / 0.5109 GB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.3237, allocations: 5.812 kB / 0.5109 GB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.828e-05/0.3238, allocations: 27.45 kB / 0.5109 GB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.28e-05/0.3239, allocations: 161.1 kB / 0.5111 GB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.324, allocations: 140 kB / 0.5112 GB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.105e-05/0.3241, allocations: 31.53 kB / 0.5112 GB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.3241, allocations: 0 / 0.5112 GB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.158e-05/0.3241, allocations: 41.84 kB / 0.5113 GB, free: 11.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 7.82e-07/0.3241, allocations: 0 / 0.5113 GB, free: 11.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002198/0.3244, allocations: 89.52 kB / 0.5114 GB, free: 11.63 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.3244, allocations: 58.88 kB / 0.5114 GB, free: 11.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.925e-05/0.3245, allocations: 109.1 kB / 0.5115 GB, free: 11.46 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.3245, allocations: 25.7 kB / 0.5115 GB, free: 11.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.591e-05/0.3245, allocations: 91.91 kB / 0.5116 GB, free: 11.34 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.072e-05/0.3245, allocations: 3.062 kB / 0.5116 GB, free: 11.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-06/0.3245, allocations: 0 / 0.5116 GB, free: 11.34 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.908e-05/0.3246, allocations: 318.3 kB / 0.5119 GB, free: 11.03 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.426e-05/0.3246, allocations: 11.8 kB / 0.512 GB, free: 11.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.438e-05/0.3246, allocations: 47.16 kB / 0.512 GB, free: 10.97 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.899e-05/0.3247, allocations: 51.28 kB / 0.512 GB, free: 10.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3247, allocations: 3.844 kB / 0.512 GB, free: 10.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.888e-05/0.3248, allocations: 78.42 kB / 0.5121 GB, free: 10.86 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.3248, allocations: 8.312 kB / 0.5121 GB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3248, allocations: 4.125 kB / 0.5121 GB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.3248, allocations: 7.812 kB / 0.5121 GB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.954e-05/0.3249, allocations: 11.62 kB / 0.5122 GB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3249, allocations: 3.844 kB / 0.5122 GB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.084e-05/0.3249, allocations: 3.906 kB / 0.5122 GB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.3249, allocations: 3.844 kB / 0.5122 GB, free: 10.85 MB / 330.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 4.858e-05/0.325, allocations: 117.8 kB / 0.5123 GB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.3251, allocations: 70.86 kB / 0.5123 GB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.753e-05/0.3251, allocations: 16.12 kB / 0.5124 GB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.3251, allocations: 0 / 0.5124 GB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3251, allocations: 0 / 0.5124 GB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3251, allocations: 3.938 kB / 0.5124 GB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.2e-05/0.3252, allocations: 171.5 kB / 0.5125 GB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3252, allocations: 0.75 kB / 0.5125 GB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.15e-05/0.3253, allocations: 3.688 kB / 0.5125 GB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3253, allocations: 3.875 kB / 0.5125 GB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.3253, allocations: 3.938 kB / 0.5125 GB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3253, allocations: 0 / 0.5125 GB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3253, allocations: 0.875 kB / 0.5125 GB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.3254, allocations: 102.3 kB / 0.5126 GB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.892e-05/0.3254, allocations: 84.97 kB / 0.5127 GB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.3255, allocations: 8.297 kB / 0.5127 GB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.287e-05/0.3255, allocations: 15.36 kB / 0.5127 GB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-06/0.3256, allocations: 0 / 0.5127 GB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.3256, allocations: 11.88 kB / 0.5128 GB, free: 10.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.473e-05/0.3256, allocations: 82.78 kB / 0.5128 GB, free: 10.2 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3256, allocations: 7.406 kB / 0.5128 GB, free: 10.19 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001883/0.3258, allocations: 7.719 kB / 0.5128 GB, free: 10.19 MB / 330.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 6.547e-05/0.3259, allocations: 98.39 kB / 0.5129 GB, free: 10.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001069/0.326, allocations: 41.55 kB / 0.513 GB, free: 10.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.326, allocations: 4.375 kB / 0.513 GB, free: 10.08 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.326, allocations: 0 / 0.513 GB, free: 10.08 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.3263, allocations: 45.38 kB / 0.513 GB, free: 10.07 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002315/0.3265, allocations: 167.8 kB / 0.5132 GB, free: 9.914 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.89e-05/0.3266, allocations: 0.6961 MB / 0.5139 GB, free: 9.203 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.144e-05/0.3267, allocations: 11.38 kB / 0.5139 GB, free: 9.195 MB / 330.7 MB Notification: Performance of SimCode: time 2.9e-07/0.3267, allocations: 0 / 0.5139 GB, free: 9.195 MB / 330.7 MB Notification: Performance of Templates: time 0.001555/0.3282, allocations: 0.7562 MB / 0.5146 GB, free: 8.824 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches