Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.001426/0.001426, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 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.001615/0.001615, allocations: 161.4 kB / 24.99 MB, free: 9.324 MB / 18.57 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.029/1.029, allocations: 177 MB / 205.2 MB, free: 5.184 MB / 186.7 MB " [Timeout remaining time 179] 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 273 MB, free: 1.617 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.333e-05/2.487e-05, allocations: 2.312 kB / 273 MB, free: 1.613 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.00203/0.002055, allocations: 1.572 MB / 274.6 MB, free: 28 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000327/0.002382, allocations: 139.4 kB / 274.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.628e-05/0.002459, allocations: 7.938 kB / 274.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.519e-05/0.002504, allocations: 3.938 kB / 274.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.002619, allocations: 7.938 kB / 274.7 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.002834, allocations: 39.83 kB / 274.8 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.862e-05/0.002922, allocations: 35.91 kB / 274.8 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.017e-05/0.003012, allocations: 4 kB / 274.8 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.917e-05/0.003062, allocations: 23.92 kB / 274.8 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.536e-05/0.003087, allocations: 11.92 kB / 274.8 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.003107, allocations: 4 kB / 274.8 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.965e-06/0.003115, allocations: 0 / 274.8 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.594e-05/0.003171, allocations: 19.91 kB / 274.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.762e-05/0.003198, allocations: 11.94 kB / 274.9 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.933e-05/0.003298, allocations: 31.84 kB / 274.9 MB, free: 15.69 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.0033, allocations: 4 kB / 274.9 MB, free: 15.69 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.0033, allocations: 0 / 274.9 MB, free: 15.69 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.003305, allocations: 0 / 274.9 MB, free: 15.69 MB / 266.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.0003698/0.003675, allocations: 392.4 kB / 275.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.00371, allocations: 8.031 kB / 275.3 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/0.00375, allocations: 16.88 kB / 275.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.003919, allocations: 132.5 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.003938, allocations: 4.375 kB / 275.4 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-06/0.003948, allocations: 4.375 kB / 275.4 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/0.004198, allocations: 133.6 kB / 275.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.004205, allocations: 192 / 275.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.004214, allocations: 384 / 275.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.004222, allocations: 384 / 275.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.193e-05/0.004244, allocations: 11.88 kB / 275.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002545/0.004498, allocations: 271.4 kB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.004598, allocations: 66.05 kB / 275.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.382e-05/0.004632, allocations: 31.5 kB / 275.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.004647, allocations: 0 / 275.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.004669, allocations: 37.39 kB / 276 MB, free: 14.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.00467, allocations: 0 / 276 MB, free: 14.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001527/0.004823, allocations: 65.45 kB / 276 MB, free: 14.36 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.004869, allocations: 89.09 kB / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.51e-05/0.004964, allocations: 184.6 kB / 276.3 MB, free: 14.06 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.004973, allocations: 25.7 kB / 276.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.847e-05/0.005022, allocations: 134.9 kB / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.893e-06/0.005028, allocations: 128 / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.005063, allocations: 31.33 kB / 276.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.005172, allocations: 492.1 kB / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.099e-05/0.005183, allocations: 0 / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.642e-06/0.00519, allocations: 4 kB / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.114e-05/0.005211, allocations: 15.61 kB / 277 MB, free: 13.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.005213, allocations: 0 / 277 MB, free: 13.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.1e-05/0.005264, allocations: 37.7 kB / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.005277, allocations: 4 kB / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.005283, allocations: 3.938 kB / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.005296, allocations: 4.094 kB / 277 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.365e-06/0.005305, allocations: 0 / 277 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.005311, allocations: 4 kB / 277.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.514e-05/0.005336, allocations: 0 / 277.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-06/0.00534, allocations: 0 / 277.1 MB, free: 13.28 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 6.186e-05/0.005402, allocations: 156.6 kB / 277.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.505e-05/0.005447, allocations: 49.59 kB / 277.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.833e-05/0.005475, allocations: 15.92 kB / 277.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.005477, allocations: 0 / 277.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.005481, allocations: 0 / 277.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.005483, allocations: 4 kB / 277.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.005583, allocations: 128.6 kB / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.005584, allocations: 0 / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.32e-06/0.005589, allocations: 4 kB / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.005591, allocations: 0 / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.005597, allocations: 0 / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.005601, allocations: 7.938 kB / 277.4 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.005602, allocations: 240 / 277.4 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.005709, allocations: 215.5 kB / 277.6 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.762e-05/0.005737, allocations: 15.94 kB / 277.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.005747, allocations: 0 / 277.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.968e-05/0.005787, allocations: 11.88 kB / 277.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.746e-05/0.005814, allocations: 4 kB / 277.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.00582, allocations: 7.984 kB / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.97e-05/0.005879, allocations: 139.2 kB / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005879, allocations: 0 / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001526/0.006032, allocations: 4 kB / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 7.958e-05/0.006112, allocations: 91.25 kB / 277.9 MB, free: 12.35 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.054e-05/0.006192, allocations: 19.62 kB / 277.9 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.006194, allocations: 4.062 kB / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.317e-05/0.006207, allocations: 15.69 kB / 277.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.006449, allocations: 16.8 kB / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002952/0.006744, allocations: 171.4 kB / 278.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.052e-05/0.006785, allocations: 59.34 kB / 278.2 MB, free: 12.01 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.653e-05/0.006801, allocations: 0 / 278.2 MB, free: 12.01 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.763e-05/0.006829, allocations: 12.5 kB / 278.2 MB, free: 12 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.00683, allocations: 0 / 278.2 MB, free: 12 MB / 266.7 MB Notification: Performance of Templates: time 0.002474/0.009304, allocations: 0.5195 MB / 278.7 MB, free: 11.49 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.847542735049501]