Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009475/0.0009475, allocations: 82.28 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000938/0.000938, allocations: 154.3 kB / 25.6 MB, free: 8.922 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9912/0.9912, allocations: 173.4 MB / 202.3 MB, free: 8.301 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 269.2 MB, free: 9.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.537e-05/2.681e-05, allocations: 2.312 kB / 269.2 MB, free: 9.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003421/0.003448, allocations: 1.912 MB / 271.1 MB, free: 7.844 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.005216, allocations: 1.031 MB / 272.1 MB, free: 6.809 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.005367, allocations: 7.938 kB / 272.2 MB, free: 6.801 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006875/0.006054, allocations: 156.5 kB / 272.3 MB, free: 6.648 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003097/0.006364, allocations: 117 kB / 272.4 MB, free: 6.535 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005722/0.006936, allocations: 207.2 kB / 272.6 MB, free: 6.332 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002669/0.007203, allocations: 180 kB / 272.8 MB, free: 6.156 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.007313, allocations: 18.67 kB / 272.8 MB, free: 6.137 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.007467, allocations: 103.7 kB / 272.9 MB, free: 6.035 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.007588, allocations: 60.55 kB / 273 MB, free: 5.977 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.007615, allocations: 12 kB / 273 MB, free: 5.965 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.007763, allocations: 60.42 kB / 273 MB, free: 5.906 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.193e-05/0.007835, allocations: 47.83 kB / 273.1 MB, free: 5.859 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.436e-05/0.00789, allocations: 32.7 kB / 273.1 MB, free: 5.828 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002968/0.008186, allocations: 167.3 kB / 273.3 MB, free: 5.664 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.00819, allocations: 1.312 kB / 273.3 MB, free: 5.664 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.008191, allocations: 0 / 273.3 MB, free: 5.664 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.008195, allocations: 0 / 273.3 MB, free: 5.664 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006271/0.008822, allocations: 0.5381 MB / 273.8 MB, free: 5.086 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.008859, allocations: 12.03 kB / 273.8 MB, free: 5.074 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6e-05/0.008919, allocations: 20.84 kB / 273.9 MB, free: 5.055 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.009206, allocations: 217.2 kB / 274.1 MB, free: 4.816 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.009225, allocations: 8.375 kB / 274.1 MB, free: 4.809 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.009241, allocations: 4.375 kB / 274.1 MB, free: 4.805 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.009475, allocations: 141.7 kB / 274.2 MB, free: 4.645 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.009486, allocations: 5.188 kB / 274.2 MB, free: 4.641 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.009495, allocations: 0 / 274.2 MB, free: 4.641 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.0095, allocations: 0 / 274.2 MB, free: 4.641 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.975e-05/0.00955, allocations: 24.78 kB / 274.3 MB, free: 4.617 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003855/0.009936, allocations: 311.7 kB / 274.6 MB, free: 4.277 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.0101, allocations: 113.8 kB / 274.7 MB, free: 4.129 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.906e-05/0.01014, allocations: 46.98 kB / 274.7 MB, free: 4.07 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.01016, allocations: 0 / 274.7 MB, free: 4.07 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00012/0.01028, allocations: 69.05 kB / 274.8 MB, free: 3.988 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.01028, allocations: 0 / 274.8 MB, free: 3.988 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002578/0.01054, allocations: 113.4 kB / 274.9 MB, free: 3.871 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.05e-05/0.0106, allocations: 106.8 kB / 275 MB, free: 3.742 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.01083, allocations: 284.4 kB / 275.3 MB, free: 3.445 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.01085, allocations: 33.7 kB / 275.3 MB, free: 3.406 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.814e-05/0.01095, allocations: 166.8 kB / 275.5 MB, free: 3.238 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.01098, allocations: 23.81 kB / 275.5 MB, free: 3.215 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-05/0.01103, allocations: 27.38 kB / 275.5 MB, free: 3.18 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.01119, allocations: 0.5001 MB / 276 MB, free: 2.668 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.138e-05/0.01121, allocations: 4 kB / 276 MB, free: 2.664 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.784e-05/0.01127, allocations: 68.73 kB / 276.1 MB, free: 2.578 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.835e-05/0.01133, allocations: 47.5 kB / 276.1 MB, free: 2.523 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01133, allocations: 0 / 276.1 MB, free: 2.523 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000125/0.01145, allocations: 81.5 kB / 276.2 MB, free: 2.438 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.01147, allocations: 4 kB / 276.2 MB, free: 2.434 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.01147, allocations: 0 / 276.2 MB, free: 2.434 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.01148, allocations: 4 kB / 276.2 MB, free: 2.43 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.862e-05/0.01156, allocations: 11.98 kB / 276.2 MB, free: 2.418 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.01157, allocations: 0 / 276.2 MB, free: 2.418 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.513e-05/0.01162, allocations: 11.95 kB / 276.2 MB, free: 2.406 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.01163, allocations: 0 / 276.2 MB, free: 2.406 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 9.911e-05/0.01173, allocations: 164.6 kB / 276.4 MB, free: 2.234 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.503e-05/0.0118, allocations: 65.52 kB / 276.5 MB, free: 2.164 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001654/0.01197, allocations: 95.36 kB / 276.6 MB, free: 2.062 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.01197, allocations: 4 kB / 276.6 MB, free: 2.059 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.01197, allocations: 0 / 276.6 MB, free: 2.059 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.01198, allocations: 0 / 276.6 MB, free: 2.059 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.01214, allocations: 145.1 kB / 276.7 MB, free: 1.891 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01214, allocations: 0 / 276.7 MB, free: 1.891 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.383e-05/0.01217, allocations: 11.98 kB / 276.7 MB, free: 1.879 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.249e-06/0.01218, allocations: 3.938 kB / 276.7 MB, free: 1.875 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.01218, allocations: 4 kB / 276.7 MB, free: 1.871 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.01219, allocations: 8.062 kB / 276.7 MB, free: 1.863 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01219, allocations: 0 / 276.7 MB, free: 1.863 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.01235, allocations: 139.6 kB / 276.9 MB, free: 1.695 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.461e-05/0.01241, allocations: 31.84 kB / 276.9 MB, free: 1.664 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.01244, allocations: 7.938 kB / 276.9 MB, free: 1.656 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.657e-05/0.01249, allocations: 8.062 kB / 276.9 MB, free: 1.648 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.01253, allocations: 7.984 kB / 276.9 MB, free: 1.641 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.01254, allocations: 4 kB / 276.9 MB, free: 1.637 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001297/0.01267, allocations: 193.1 kB / 277.1 MB, free: 1.449 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01267, allocations: 0 / 277.1 MB, free: 1.449 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002876/0.01296, allocations: 31.94 kB / 277.2 MB, free: 1.418 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001174/0.01414, allocations: 407.9 kB / 277.6 MB, free: 1.156 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001328/0.01427, allocations: 43.61 kB / 277.6 MB, free: 1.109 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01427, allocations: 0 / 277.6 MB, free: 1.109 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.772e-05/0.01432, allocations: 31.59 kB / 277.6 MB, free: 1.074 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.01469, allocations: 57.33 kB / 277.7 MB, free: 1.016 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000502/0.01519, allocations: 290 kB / 278 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.933e-05/0.01525, allocations: 83.75 kB / 278 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.75e-05/0.01532, allocations: 21.73 kB / 278.1 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.01544, allocations: 94.19 kB / 278.2 MB, free: 492 kB / 250.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01544, allocations: 0 / 278.2 MB, free: 492 kB / 250.7 MB Notification: Performance of Templates: time 0.006378/0.02181, allocations: 2.82 MB / 281 MB, free: 13.72 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.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.7509732809849083]