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.002535/0.002535, allocations: 103.5 kB / 20.97 MB, free: 3.445 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.002026/0.002026, allocations: 156.8 kB / 24.27 MB, free: 152 kB / 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.58/1.58, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 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.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.613e-06/1.613e-06, allocations: 0 / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.84e-05/3.002e-05, allocations: 2.312 kB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003243/0.003273, allocations: 1.532 MB / 273.7 MB, free: 264 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005055/0.003778, allocations: 143.5 kB / 273.9 MB, free: 120 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.311e-05/0.003861, allocations: 4 kB / 273.9 MB, free: 116 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.02e-05/0.003932, allocations: 7.922 kB / 273.9 MB, free: 108 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.004059, allocations: 3.938 kB / 273.9 MB, free: 104 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.004322, allocations: 39.78 kB / 273.9 MB, free: 64 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.004436, allocations: 31.91 kB / 274 MB, free: 32 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.004536, allocations: 8 kB / 274 MB, free: 24 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.385e-05/0.0046, allocations: 23.91 kB / 274 MB, free: 0 / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.889e-05/0.004669, allocations: 12.06 kB / 274 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.004692, allocations: 0 / 274 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.298e-05/0.004705, allocations: 8 kB / 274 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.256e-05/0.004757, allocations: 11.94 kB / 274 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.298e-05/0.00479, allocations: 11.92 kB / 274 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.004914, allocations: 47.73 kB / 274.1 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.004917, allocations: 0 / 274.1 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.004919, allocations: 0 / 274.1 MB, free: 15.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.004923, allocations: 0 / 274.1 MB, free: 15.91 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.0005411/0.005464, allocations: 392 kB / 274.5 MB, free: 15.49 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.005509, allocations: 15.98 kB / 274.5 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.332e-05/0.005562, allocations: 12.89 kB / 274.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.005795, allocations: 132.5 kB / 274.6 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.005819, allocations: 8.375 kB / 274.6 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.445e-06/0.005827, allocations: 384 / 274.6 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.006121, allocations: 128.9 kB / 274.8 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.006131, allocations: 192 / 274.8 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.006139, allocations: 4.312 kB / 274.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.006143, allocations: 384 / 274.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.065e-05/0.006213, allocations: 23.92 kB / 274.8 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003799/0.006593, allocations: 271.5 kB / 275 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.006781, allocations: 74.11 kB / 275.1 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.362e-05/0.006854, allocations: 31.42 kB / 275.1 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.006878, allocations: 4 kB / 275.2 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.00691, allocations: 37.39 kB / 275.2 MB, free: 14.63 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.006911, allocations: 0 / 275.2 MB, free: 14.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002887/0.0072, allocations: 73.64 kB / 275.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.534e-05/0.007285, allocations: 89.08 kB / 275.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.007467, allocations: 201.8 kB / 275.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.007492, allocations: 29.7 kB / 275.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.79e-05/0.00759, allocations: 134.7 kB / 275.7 MB, free: 14.06 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.11e-05/0.007601, allocations: 4 kB / 275.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-05/0.007648, allocations: 23.36 kB / 275.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002899/0.007938, allocations: 0.4884 MB / 276.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.146e-05/0.007969, allocations: 4 kB / 276.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.123e-05/0.00799, allocations: 3.984 kB / 276.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.719e-05/0.008048, allocations: 23.75 kB / 276.3 MB, free: 13.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.008049, allocations: 0 / 276.3 MB, free: 13.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.985e-05/0.008149, allocations: 49.58 kB / 276.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.008169, allocations: 8 kB / 276.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.008178, allocations: 3.938 kB / 276.3 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.008193, allocations: 0 / 276.3 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.476e-06/0.008201, allocations: 0 / 276.3 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.008206, allocations: 0 / 276.3 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.419e-05/0.00823, allocations: 4 kB / 276.3 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.008235, allocations: 32 / 276.3 MB, free: 13.42 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 0.0001146/0.008349, allocations: 160.6 kB / 276.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.28e-05/0.008442, allocations: 49.64 kB / 276.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.398e-05/0.008476, allocations: 11.94 kB / 276.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.008478, allocations: 0 / 276.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.008482, allocations: 0 / 276.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.008487, allocations: 7.984 kB / 276.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.00866, allocations: 128.6 kB / 276.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.008661, allocations: 0 / 276.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.039e-05/0.008671, allocations: 7.938 kB / 276.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.008673, allocations: 0 / 276.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.008679, allocations: 4 kB / 276.7 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.788e-06/0.008682, allocations: 3.938 kB / 276.7 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.008687, allocations: 4 kB / 276.7 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.008911, allocations: 215.6 kB / 276.9 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.437e-05/0.008946, allocations: 8 kB / 276.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.008958, allocations: 0 / 276.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.841e-05/0.009016, allocations: 7.938 kB / 276.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.009052, allocations: 7.984 kB / 276.9 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.009055, allocations: 0 / 276.9 MB, free: 12.74 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001012/0.009156, allocations: 146.1 kB / 277.1 MB, free: 12.6 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.009157, allocations: 7.938 kB / 277.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002263/0.009383, allocations: 7.953 kB / 277.1 MB, free: 12.58 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 0.0001253/0.009508, allocations: 99.25 kB / 277.2 MB, free: 12.47 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001565/0.009665, allocations: 27.67 kB / 277.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.009667, allocations: 0 / 277.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.395e-05/0.009721, allocations: 11.69 kB / 277.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.01007, allocations: 25.17 kB / 277.2 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003444/0.01042, allocations: 161 kB / 277.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.729e-05/0.0105, allocations: 71.33 kB / 277.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.761e-05/0.01052, allocations: 4.031 kB / 277.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.663e-05/0.01055, allocations: 8.5 kB / 277.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01055, allocations: 0 / 277.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of Templates: time 0.003284/0.01383, allocations: 0.5299 MB / 278 MB, free: 11.59 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.483937953948043]