Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse.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.001737/0.001737, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.001948/0.001948, allocations: 164.6 kB / 24.5 MB, free: 3.453 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.512/1.512, allocations: 177.1 MB / 204.7 MB, free: 9.016 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.TickBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002378/0.002378, allocations: 61.3 kB / 325.5 MB, free: 236 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1296, allocations: 53.39 MB / 378.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse): time 0.004106/0.1337, allocations: 1.46 MB / 380.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002304/0.1339, allocations: 39.84 kB / 380.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.924e-05/0.134, allocations: 0 / 380.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.394e-05/0.134, allocations: 11.92 kB / 380.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.892e-05/0.1341, allocations: 3.938 kB / 380.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.1343, allocations: 27.97 kB / 380.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.1344, allocations: 43.86 kB / 380.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.983e-05/0.1345, allocations: 7.922 kB / 380.5 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.464e-05/0.1346, allocations: 12 kB / 380.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.403e-05/0.1346, allocations: 27.84 kB / 380.5 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.1346, allocations: 0 / 380.5 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.364e-05/0.1346, allocations: 4 kB / 380.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.411e-05/0.1347, allocations: 11.98 kB / 380.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.317e-05/0.1347, allocations: 15.94 kB / 380.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.1348, allocations: 39.81 kB / 380.6 MB, free: 13.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1348, allocations: 3.984 kB / 380.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.1348, allocations: 4 kB / 380.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.1348, allocations: 3.938 kB / 380.6 MB, free: 13.82 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004556/0.1353, allocations: 270.3 kB / 380.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.1353, allocations: 11.98 kB / 380.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.487e-05/0.1353, allocations: 12.89 kB / 380.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.1356, allocations: 114.5 kB / 381 MB, free: 13.36 MB / 350.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: pulse.startOutput = previous(pulse.counter) >= pulse.startTick - 1 to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/0.1357, allocations: 38.25 kB / 381.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.1357, allocations: 8.375 kB / 381.1 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003652/0.1361, allocations: 123.8 kB / 381.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.1361, allocations: 3.938 kB / 381.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.1361, allocations: 0 / 381.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-06/0.1361, allocations: 4 kB / 381.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.742e-05/0.1362, allocations: 19.97 kB / 381.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001468/0.1363, allocations: 109.3 kB / 381.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.1365, allocations: 58.62 kB / 381.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.9e-05/0.1366, allocations: 36.78 kB / 381.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.215e-06/0.1366, allocations: 0 / 381.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.1366, allocations: 30.56 kB / 381.4 MB, free: 12.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.1367, allocations: 0 / 381.4 MB, free: 12.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002479/0.1369, allocations: 81.56 kB / 381.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/0.137, allocations: 59.34 kB / 381.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.1371, allocations: 110 kB / 381.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.1371, allocations: 29.7 kB / 381.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.898e-05/0.1372, allocations: 80.14 kB / 381.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.133e-05/0.1372, allocations: 3.953 kB / 381.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-05/0.1372, allocations: 29.7 kB / 381.8 MB, free: 12.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.1374, allocations: 314.8 kB / 382.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.88e-05/0.1375, allocations: 11.98 kB / 382.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.759e-05/0.1375, allocations: 36.3 kB / 382.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.432e-05/0.1376, allocations: 44.23 kB / 382.2 MB, free: 12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1376, allocations: 0 / 382.2 MB, free: 12 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001747/0.1378, allocations: 81.52 kB / 382.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.1378, allocations: 4 kB / 382.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.1378, allocations: 3.984 kB / 382.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.1378, allocations: 7.938 kB / 382.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.403e-05/0.1379, allocations: 4 kB / 382.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.1379, allocations: 3.938 kB / 382.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.62e-05/0.1379, allocations: 8 kB / 382.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.1379, allocations: 4 kB / 382.3 MB, free: 11.88 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 7 ($CLKPRE.pulse.startOutput,pulse.startOutput,$CLKPRE.pulse.counter,pulse.counter,pulse.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 2 (pulse.startOutput,pulse.counter) * 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.0001317/0.1381, allocations: 122 kB / 382.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.1382, allocations: 57.69 kB / 382.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.933e-05/0.1382, allocations: 12.06 kB / 382.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1382, allocations: 0 / 382.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.1382, allocations: 0 / 382.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.1382, allocations: 0 / 382.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.1384, allocations: 109.2 kB / 382.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1384, allocations: 0 / 382.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.247e-05/0.1384, allocations: 4 kB / 382.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1384, allocations: 3.938 kB / 382.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.1384, allocations: 3.984 kB / 382.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.1384, allocations: 11.88 kB / 382.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1384, allocations: 0 / 382.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.1386, allocations: 93.33 kB / 382.7 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.072e-05/0.1386, allocations: 0 / 382.7 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.1386, allocations: 8 kB / 382.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.736e-05/0.1387, allocations: 7.922 kB / 382.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.715e-06/0.1387, allocations: 4 kB / 382.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.1387, allocations: 3.938 kB / 382.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.58e-05/0.1388, allocations: 83.28 kB / 382.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1388, allocations: 0 / 382.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003696/0.1392, allocations: 8 kB / 382.9 MB, free: 11.29 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: 5 (assignClock1.u,assignClock1.y,pulse.y,pulse.counter,pulse.startOutput) * Number of discrete states: 0 () * Number of clocked states: 2 (pulse.counter,pulse.startOutput) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * 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.0001272/0.1393, allocations: 110.5 kB / 383 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001484/0.1394, allocations: 27.94 kB / 383 MB, free: 11.15 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.1394, allocations: 4 kB / 383 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.71e-07/0.1394, allocations: 0 / 383 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.1405, allocations: 0.7182 MB / 383.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003303/0.1408, allocations: 129.5 kB / 383.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.56e-05/0.1409, allocations: 71.72 kB / 383.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.907e-05/0.1409, allocations: 3.984 kB / 383.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.131e-05/0.1409, allocations: 12.5 kB / 383.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1409, allocations: 0 / 383.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of Templates: time 0.003856/0.1448, allocations: 0.7652 MB / 384.7 MB, free: 9.395 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedPulse/TickBasedPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse.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.491469701984897]