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.001021/0.001021, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001263/0.001263, allocations: 168.5 kB / 24.82 MB, free: 9.258 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.016/1.016, allocations: 177 MB / 205.1 MB, free: 5.473 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.593e-06/1.593e-06, allocations: 0 / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.48e-05/1.639e-05, allocations: 6.312 kB / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.00217/0.002187, allocations: 1.568 MB / 274.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003254/0.002512, allocations: 143.4 kB / 275 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.114e-05/0.002583, allocations: 4 kB / 275 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.282e-05/0.002626, allocations: 3.938 kB / 275 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.002736, allocations: 7.922 kB / 275.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.002915, allocations: 39.84 kB / 275.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.506e-05/0.00299, allocations: 35.86 kB / 275.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.871e-05/0.003069, allocations: 7.984 kB / 275.1 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.665e-05/0.003115, allocations: 19.98 kB / 275.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.278e-05/0.003148, allocations: 11.92 kB / 275.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.003164, allocations: 0 / 275.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.366e-06/0.003173, allocations: 4 kB / 275.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.901e-05/0.003212, allocations: 15.92 kB / 275.2 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.83e-05/0.00323, allocations: 8 kB / 275.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.308e-05/0.003313, allocations: 35.83 kB / 275.2 MB, free: 15.31 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.003315, allocations: 0 / 275.2 MB, free: 15.31 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.003315, allocations: 4 kB / 275.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.996e-06/0.003318, allocations: 0 / 275.2 MB, free: 15.3 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.0003147/0.003633, allocations: 396.3 kB / 275.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.774e-05/0.003691, allocations: 15.98 kB / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.185e-05/0.003722, allocations: 12.83 kB / 275.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.003853, allocations: 132.5 kB / 275.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.003872, allocations: 4.375 kB / 275.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.00388, allocations: 4.375 kB / 275.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.00407, allocations: 121.6 kB / 275.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.004079, allocations: 192 / 275.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.004089, allocations: 4.375 kB / 275.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.004101, allocations: 384 / 275.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.829e-05/0.004119, allocations: 15.86 kB / 275.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002202/0.004339, allocations: 244 kB / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.535e-05/0.004425, allocations: 70.09 kB / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.332e-05/0.004448, allocations: 27.44 kB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.004466, allocations: 4 kB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.004484, allocations: 33.39 kB / 276.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.004485, allocations: 0 / 276.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001158/0.004601, allocations: 61.52 kB / 276.4 MB, free: 14.01 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.004636, allocations: 85.05 kB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.851e-05/0.004715, allocations: 188.8 kB / 276.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/0.004723, allocations: 25.7 kB / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.155e-05/0.004764, allocations: 134.9 kB / 276.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.57e-06/0.00477, allocations: 0 / 276.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.722e-05/0.004797, allocations: 35.44 kB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.0049, allocations: 492.1 kB / 277.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.3e-06/0.004905, allocations: 0 / 277.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.659e-06/0.00491, allocations: 0 / 277.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.744e-05/0.004927, allocations: 11.69 kB / 277.3 MB, free: 12.99 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.004929, allocations: 0 / 277.3 MB, free: 12.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.461e-05/0.004963, allocations: 41.62 kB / 277.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.004975, allocations: 4 kB / 277.4 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.004979, allocations: 4 kB / 277.4 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.004991, allocations: 11.97 kB / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.021e-06/0.004997, allocations: 0 / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.004999, allocations: 0 / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.359e-05/0.005023, allocations: 4 kB / 277.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-06/0.005026, allocations: 192 / 277.4 MB, free: 12.92 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.708e-05/0.005093, allocations: 152.6 kB / 277.5 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.088e-05/0.005134, allocations: 53.62 kB / 277.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.573e-05/0.005159, allocations: 8 kB / 277.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.005163, allocations: 7.938 kB / 277.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.005164, allocations: 0 / 277.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.005167, allocations: 0 / 277.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.834e-05/0.005255, allocations: 109.2 kB / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.005257, allocations: 0 / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.481e-06/0.005262, allocations: 3.938 kB / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.005264, allocations: 0 / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-06/0.005269, allocations: 4 kB / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.00527, allocations: 3.984 kB / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.005271, allocations: 0 / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.033e-05/0.005342, allocations: 195.5 kB / 277.9 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.308e-05/0.005365, allocations: 11.98 kB / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.164e-06/0.005372, allocations: 0 / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.071e-05/0.005402, allocations: 4.031 kB / 277.9 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.873e-05/0.005421, allocations: 8 kB / 277.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.005424, allocations: 3.938 kB / 277.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.925e-05/0.005463, allocations: 139.2 kB / 278.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005463, allocations: 0 / 278.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001374/0.005601, allocations: 7.953 kB / 278.1 MB, free: 12.16 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 6.381e-05/0.005665, allocations: 99.17 kB / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.026e-05/0.005715, allocations: 19.69 kB / 278.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.005716, allocations: 4.062 kB / 278.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.698e-06/0.005726, allocations: 7.688 kB / 278.2 MB, free: 12.01 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.005925, allocations: 24.06 kB / 278.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002025/0.006128, allocations: 148.9 kB / 278.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.354e-05/0.006162, allocations: 63.28 kB / 278.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.154e-05/0.006173, allocations: 4 kB / 278.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.584e-05/0.006219, allocations: 74.19 kB / 278.5 MB, free: 11.65 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.006219, allocations: 3.938 kB / 278.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of Templates: time 0.00187/0.008089, allocations: 0.5696 MB / 279.1 MB, free: 11.08 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.674941879697144]