Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001874/0.001874, allocations: 81.14 kB / 21.26 MB, free: 0.5352 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002008/0.002008, allocations: 161.8 kB / 24.51 MB, free: 3.707 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.548/1.548, allocations: 177.1 MB / 204.7 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002602/0.002602, allocations: 65.81 kB / 325.5 MB, free: 192 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.131, allocations: 53.38 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.004009/0.135, allocations: 1.503 MB / 380.4 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.1364, allocations: 458.8 kB / 380.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.1365, allocations: 11.94 kB / 380.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.007e-05/0.1365, allocations: 3.938 kB / 380.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002265/0.1367, allocations: 7.922 kB / 380.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.137, allocations: 35.91 kB / 380.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.1372, allocations: 51.84 kB / 381 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.1373, allocations: 7.938 kB / 381 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.37e-05/0.1374, allocations: 23.92 kB / 381 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.396e-05/0.1375, allocations: 23.84 kB / 381 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.1375, allocations: 4 kB / 381 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.736e-05/0.1375, allocations: 7.938 kB / 381 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.28e-05/0.1375, allocations: 15.98 kB / 381 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.766e-05/0.1376, allocations: 19.92 kB / 381.1 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.1378, allocations: 43.81 kB / 381.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.1378, allocations: 3.938 kB / 381.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1378, allocations: 4 kB / 381.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1378, allocations: 0 / 381.1 MB, free: 13.26 MB / 350.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.0008438/0.1386, allocations: 306.2 kB / 381.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.1387, allocations: 11.98 kB / 381.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.27e-05/0.1387, allocations: 8.891 kB / 381.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.1391, allocations: 130.4 kB / 381.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.1391, allocations: 384 / 381.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.1391, allocations: 8.375 kB / 381.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005017/0.1396, allocations: 143.5 kB / 381.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1396, allocations: 0 / 381.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.1396, allocations: 4 kB / 381.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1396, allocations: 0 / 381.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.1398, allocations: 31.97 kB / 381.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001791/0.1399, allocations: 105.3 kB / 381.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.1402, allocations: 58.56 kB / 381.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.1403, allocations: 24.84 kB / 381.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.1403, allocations: 8 kB / 381.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.1404, allocations: 30.56 kB / 382 MB, free: 12.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.1404, allocations: 0 / 382 MB, free: 12.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003778/0.1407, allocations: 93.56 kB / 382.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.571e-05/0.1408, allocations: 55.39 kB / 382.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.141, allocations: 113.8 kB / 382.2 MB, free: 12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.141, allocations: 29.64 kB / 382.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.411e-05/0.141, allocations: 84.12 kB / 382.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.1411, allocations: 8 kB / 382.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.837e-05/0.1411, allocations: 21.7 kB / 382.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.1413, allocations: 318.8 kB / 382.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.664e-05/0.1413, allocations: 8 kB / 382.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.187e-05/0.1414, allocations: 49.33 kB / 382.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.156e-05/0.1415, allocations: 49.09 kB / 382.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.1415, allocations: 8 kB / 382.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001839/0.1417, allocations: 81.52 kB / 382.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.1417, allocations: 10.81 kB / 382.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.1417, allocations: 3.938 kB / 382.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.1417, allocations: 0 / 382.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.119e-05/0.1418, allocations: 11.94 kB / 382.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.1418, allocations: 7.984 kB / 382.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.643e-05/0.1419, allocations: 3.984 kB / 382.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.485e-06/0.1419, allocations: 4 kB / 382.9 MB, free: 11.25 MB / 350.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.0001274/0.142, allocations: 118 kB / 383 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002252/0.1422, allocations: 73.58 kB / 383.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.751e-05/0.1423, allocations: 16.36 kB / 383.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1423, allocations: 0 / 383.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1423, allocations: 0 / 383.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1423, allocations: 0 / 383.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.1424, allocations: 109.2 kB / 383.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.1424, allocations: 0 / 383.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.079e-05/0.1425, allocations: 8 kB / 383.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.1425, allocations: 0 / 383.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.1425, allocations: 0 / 383.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.1425, allocations: 11.94 kB / 383.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1425, allocations: 0 / 383.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.1428, allocations: 97 kB / 383.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.615e-05/0.1428, allocations: 4 kB / 383.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.1428, allocations: 7.984 kB / 383.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.143, allocations: 27.98 kB / 383.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-06/0.143, allocations: 0 / 383.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.143, allocations: 0 / 383.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7e-05/0.1431, allocations: 91.28 kB / 383.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1431, allocations: 0 / 383.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00037/0.1434, allocations: 8 kB / 383.5 MB, free: 10.62 MB / 350.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.0001211/0.1435, allocations: 95.23 kB / 383.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001754/0.1437, allocations: 43.92 kB / 383.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1437, allocations: 0 / 383.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.91e-07/0.1437, allocations: 384 / 383.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.1442, allocations: 36.02 kB / 383.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004022/0.1446, allocations: 145.4 kB / 383.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.644e-05/0.1446, allocations: 67.34 kB / 383.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.319e-05/0.1447, allocations: 3.984 kB / 383.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.293e-05/0.1447, allocations: 16.5 kB / 383.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1447, allocations: 0 / 383.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of Templates: time 0.004205/0.1489, allocations: 0.6891 MB / 384.6 MB, free: 9.496 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.502761858981103]