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.00154/0.00154, allocations: 181 kB / 15.8 MB, free: 6.336 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.604/1.604, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.0008652/0.0008654, allocations: 82.88 kB / 270.3 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07918/0.07918, allocations: 12.6 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003947/0.0003947, allocations: 11.31 kB / 392 MB, free: 54.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1189, allocations: 50.37 MB / 442.4 MB, free: 10.95 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1225/0.2414, allocations: 78.09 MB / 0.5083 GB, free: 12.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/0.2417, allocations: 75.95 kB / 0.5083 GB, free: 12.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003907/0.2457, allocations: 1.301 MB / 0.5096 GB, free: 11.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2457, allocations: 0 / 0.5096 GB, free: 11.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.2457, allocations: 4 kB / 0.5096 GB, free: 11.38 MB / 362.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.0005454/0.2463, allocations: 371.2 kB / 0.51 GB, free: 10.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.2463, allocations: 8.031 kB / 0.51 GB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.304e-05/0.2464, allocations: 7.906 kB / 0.51 GB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.2466, allocations: 171.1 kB / 0.5101 GB, free: 10.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.2466, allocations: 8 kB / 0.5101 GB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.2466, allocations: 3.953 kB / 0.5101 GB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003985/0.247, allocations: 151.1 kB / 0.5103 GB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.2471, allocations: 3.938 kB / 0.5103 GB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.2471, allocations: 0 / 0.5103 GB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.2471, allocations: 4 kB / 0.5103 GB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.2472, allocations: 31.98 kB / 0.5103 GB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001998/0.2474, allocations: 161.6 kB / 0.5105 GB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002638/0.2477, allocations: 135.7 kB / 0.5106 GB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.2477, allocations: 0 / 0.5106 GB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/0.2478, allocations: 50.56 kB / 0.5107 GB, free: 10.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.2478, allocations: 3.938 kB / 0.5107 GB, free: 10.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002982/0.2481, allocations: 81.67 kB / 0.5107 GB, free: 10.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/0.2482, allocations: 59.41 kB / 0.5108 GB, free: 9.945 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.2483, allocations: 105 kB / 0.5109 GB, free: 9.836 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.2483, allocations: 25.7 kB / 0.5109 GB, free: 9.805 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.986e-05/0.2484, allocations: 84.14 kB / 0.511 GB, free: 9.719 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.2484, allocations: 11.91 kB / 0.511 GB, free: 9.707 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.2484, allocations: 0 / 0.511 GB, free: 9.707 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.2486, allocations: 318.8 kB / 0.5113 GB, free: 9.387 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.655e-05/0.2486, allocations: 8 kB / 0.5113 GB, free: 9.379 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.391e-05/0.2486, allocations: 45.09 kB / 0.5114 GB, free: 9.316 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.362e-05/0.2487, allocations: 16 kB / 0.5114 GB, free: 9.301 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2487, allocations: 0 / 0.5114 GB, free: 9.301 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001062/0.2488, allocations: 73.55 kB / 0.5115 GB, free: 9.223 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.2488, allocations: 8 kB / 0.5115 GB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.2488, allocations: 3.953 kB / 0.5115 GB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.2488, allocations: 4.188 kB / 0.5115 GB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.273e-05/0.2489, allocations: 11.98 kB / 0.5115 GB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.2489, allocations: 7.938 kB / 0.5115 GB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.412e-05/0.249, allocations: 3.938 kB / 0.5115 GB, free: 9.184 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.249, allocations: 4 kB / 0.5115 GB, free: 9.18 MB / 362.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 9.97e-05/0.2491, allocations: 117.9 kB / 0.5116 GB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.2492, allocations: 77.58 kB / 0.5117 GB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.534e-05/0.2493, allocations: 8.375 kB / 0.5117 GB, free: 8.957 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.2493, allocations: 11.95 kB / 0.5117 GB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2493, allocations: 0 / 0.5117 GB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.2493, allocations: 0 / 0.5117 GB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.2495, allocations: 165.6 kB / 0.5119 GB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2495, allocations: 0 / 0.5119 GB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.024e-05/0.2495, allocations: 11.94 kB / 0.5119 GB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2495, allocations: 0 / 0.5119 GB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.2495, allocations: 0 / 0.5119 GB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2496, allocations: 0 / 0.5119 GB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.2496, allocations: 7.938 kB / 0.5119 GB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.2497, allocations: 97.12 kB / 0.512 GB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/0.2498, allocations: 89 kB / 0.5121 GB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.2498, allocations: 0 / 0.5121 GB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.09e-05/0.2499, allocations: 11.98 kB / 0.5121 GB, free: 8.484 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-06/0.2499, allocations: 0 / 0.5121 GB, free: 8.484 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.2499, allocations: 11.95 kB / 0.5121 GB, free: 8.473 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.826e-05/0.25, allocations: 83.28 kB / 0.5122 GB, free: 8.391 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.25, allocations: 0 / 0.5122 GB, free: 8.391 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002258/0.2502, allocations: 15.94 kB / 0.5122 GB, free: 8.375 MB / 362.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 0.0001216/0.2504, allocations: 103.2 kB / 0.5123 GB, free: 8.266 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001441/0.2505, allocations: 39.92 kB / 0.5123 GB, free: 8.227 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2505, allocations: 384 / 0.5123 GB, free: 8.227 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.61e-07/0.2505, allocations: 4 kB / 0.5123 GB, free: 8.223 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.2509, allocations: 43.72 kB / 0.5124 GB, free: 8.184 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003085/0.2512, allocations: 141.2 kB / 0.5125 GB, free: 8.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.2515, allocations: 0.6848 MB / 0.5132 GB, free: 7.309 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.881e-05/0.2515, allocations: 16.11 kB / 0.5132 GB, free: 7.289 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.821e-05/0.2515, allocations: 7.438 kB / 0.5132 GB, free: 7.285 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2515, allocations: 0 / 0.5132 GB, free: 7.285 MB / 362.7 MB Notification: Performance of Templates: time 0.00273/0.2543, allocations: 0.5705 MB / 0.5137 GB, free: 6.727 MB / 362.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/jenkins/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