Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.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.001226/0.001226, allocations: 111.6 kB / 17.68 MB, free: 5.332 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.001106/0.001107, allocations: 190.9 kB / 18.62 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001027/0.001028, allocations: 46.78 kB / 302.1 MB, free: 5.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1294, allocations: 49.44 MB / 351.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.003181/0.1326, allocations: 1.482 MB / 353 MB, free: 2.211 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008113/0.1335, allocations: 452.3 kB / 353.4 MB, free: 1.766 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.73e-05/0.1335, allocations: 0 / 353.4 MB, free: 1.766 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.296e-05/0.1336, allocations: 3.938 kB / 353.4 MB, free: 1.762 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.1338, allocations: 19.86 kB / 353.4 MB, free: 1.742 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.134, allocations: 27.97 kB / 353.5 MB, free: 1.715 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.1341, allocations: 55.78 kB / 353.5 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.1343, allocations: 15.98 kB / 353.5 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.338e-05/0.1344, allocations: 23.86 kB / 353.6 MB, free: 1.621 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.681e-05/0.1344, allocations: 15.92 kB / 353.6 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.1344, allocations: 4 kB / 353.6 MB, free: 1.602 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.437e-05/0.1345, allocations: 4 kB / 353.6 MB, free: 1.598 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.726e-05/0.1345, allocations: 19.97 kB / 353.6 MB, free: 1.578 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.857e-05/0.1345, allocations: 19.88 kB / 353.6 MB, free: 1.559 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.1347, allocations: 43.81 kB / 353.7 MB, free: 1.516 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1347, allocations: 0 / 353.7 MB, free: 1.516 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1347, allocations: 0 / 353.7 MB, free: 1.516 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.1347, allocations: 0 / 353.7 MB, free: 1.516 MB / 286.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.0007438/0.1354, allocations: 391.3 kB / 354 MB, free: 1.086 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.1355, allocations: 15.83 kB / 354.1 MB, free: 1.07 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.053e-05/0.1356, allocations: 4.938 kB / 354.1 MB, free: 1.066 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.1359, allocations: 180.2 kB / 354.2 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.1359, allocations: 12.38 kB / 354.3 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.1359, allocations: 384 / 354.3 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004213/0.1363, allocations: 151.5 kB / 354.4 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1364, allocations: 0 / 354.4 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.1364, allocations: 4 kB / 354.4 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1364, allocations: 0 / 354.4 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.1365, allocations: 31.91 kB / 354.4 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001811/0.1367, allocations: 161.7 kB / 354.6 MB, free: 448 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.1369, allocations: 143.7 kB / 354.7 MB, free: 276 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.864e-05/0.137, allocations: 32.84 kB / 354.8 MB, free: 240 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.137, allocations: 0 / 354.8 MB, free: 240 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.1371, allocations: 34.5 kB / 354.8 MB, free: 196 kB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.1371, allocations: 0 / 354.8 MB, free: 196 kB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003018/0.1374, allocations: 89.52 kB / 354.9 MB, free: 100 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/0.1375, allocations: 59.41 kB / 354.9 MB, free: 28 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.1376, allocations: 113.8 kB / 355.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.1376, allocations: 25.7 kB / 355.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.476e-05/0.1377, allocations: 84.14 kB / 355.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.1377, allocations: 7.922 kB / 355.2 MB, free: 15.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/0.1378, allocations: 21.72 kB / 355.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1379, allocations: 314.8 kB / 355.5 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.22e-05/0.1379, allocations: 11.98 kB / 355.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.252e-05/0.138, allocations: 41.16 kB / 355.6 MB, free: 15.37 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.594e-05/0.138, allocations: 65.03 kB / 355.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.138, allocations: 0 / 355.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001339/0.1382, allocations: 77.45 kB / 355.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.1382, allocations: 11.94 kB / 355.7 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1382, allocations: 0 / 355.7 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.1383, allocations: 4 kB / 355.7 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.301e-05/0.1383, allocations: 8.188 kB / 355.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.1383, allocations: 4 kB / 355.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.429e-05/0.1384, allocations: 7.875 kB / 355.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.1384, allocations: 4 kB / 355.7 MB, free: 15.16 MB / 302.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 0.0001116/0.1385, allocations: 121.7 kB / 355.9 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.1386, allocations: 77.52 kB / 355.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.989e-05/0.1387, allocations: 8.375 kB / 355.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1387, allocations: 320 / 355.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1387, allocations: 4 kB / 355.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1387, allocations: 0 / 355.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.1389, allocations: 169.6 kB / 356.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1389, allocations: 0 / 356.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.943e-05/0.1389, allocations: 8 kB / 356.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.1389, allocations: 3.938 kB / 356.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.1389, allocations: 4 kB / 356.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1389, allocations: 0 / 356.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.139, allocations: 0 / 356.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.1391, allocations: 97.05 kB / 356.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.964e-05/0.1392, allocations: 92.94 kB / 356.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.1392, allocations: 0 / 356.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.249e-05/0.1393, allocations: 15.98 kB / 356.3 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-06/0.1393, allocations: 0 / 356.3 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.1393, allocations: 4 kB / 356.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.828e-05/0.1394, allocations: 95.66 kB / 356.4 MB, free: 14.37 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1394, allocations: 4 kB / 356.4 MB, free: 14.37 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002195/0.1396, allocations: 8 kB / 356.4 MB, free: 14.36 MB / 302.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.0001462/0.1398, allocations: 99.25 kB / 356.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001709/0.1399, allocations: 39.92 kB / 356.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.14, allocations: 4 kB / 356.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.62e-07/0.14, allocations: 0 / 356.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.1403, allocations: 44.33 kB / 356.6 MB, free: 14.17 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003681/0.1407, allocations: 129.5 kB / 356.7 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.141, allocations: 0.6846 MB / 357.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.66e-05/0.1411, allocations: 7.984 kB / 357.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.312e-05/0.1411, allocations: 7.438 kB / 357.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1411, allocations: 0 / 357.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of Templates: time 0.003374/0.1445, allocations: 0.637 MB / 358.1 MB, free: 12.66 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches