Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009553/0.0009553, allocations: 80.92 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009508/0.0009508, allocations: 173.3 kB / 24.91 MB, free: 9.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9637/0.9637, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 3.938 kB / 273.4 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.718e-05/1.839e-05, allocations: 2.312 kB / 273.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.002344/0.002362, allocations: 1.946 MB / 275.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.003738, allocations: 1.211 MB / 276.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.003844, allocations: 4 kB / 276.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000458/0.004302, allocations: 151.4 kB / 276.7 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002801/0.004583, allocations: 163.3 kB / 276.9 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003664/0.004949, allocations: 179.3 kB / 277.1 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000202/0.005151, allocations: 195.4 kB / 277.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.281e-05/0.005224, allocations: 18.45 kB / 277.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.005339, allocations: 107.7 kB / 277.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.801e-05/0.005427, allocations: 63.8 kB / 277.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.005444, allocations: 8 kB / 277.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.005546, allocations: 59.89 kB / 277.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.161e-05/0.005598, allocations: 51.77 kB / 277.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.695e-05/0.005635, allocations: 35.88 kB / 277.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.005837, allocations: 159.4 kB / 277.8 MB, free: 12.97 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.005839, allocations: 0 / 277.8 MB, free: 12.97 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.00584, allocations: 0 / 277.8 MB, free: 12.97 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.005843, allocations: 0 / 277.8 MB, free: 12.97 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0003871/0.00623, allocations: 425.3 kB / 278.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.556e-05/0.006256, allocations: 8.031 kB / 278.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.006288, allocations: 16.92 kB / 278.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.006486, allocations: 213.5 kB / 278.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.006498, allocations: 4.375 kB / 278.4 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.00651, allocations: 8.375 kB / 278.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.006668, allocations: 125.2 kB / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.006675, allocations: 11.88 kB / 278.6 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.006682, allocations: 4 kB / 278.6 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.006687, allocations: 0 / 278.6 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.642e-05/0.006723, allocations: 22.75 kB / 278.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002243/0.006948, allocations: 207.5 kB / 278.8 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.842e-05/0.007046, allocations: 122.5 kB / 278.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.974e-05/0.007076, allocations: 38.62 kB / 278.9 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.00709, allocations: 11.86 kB / 279 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.26e-05/0.007163, allocations: 66.22 kB / 279 MB, free: 11.56 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.007164, allocations: 0 / 279 MB, free: 11.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001227/0.007286, allocations: 89.53 kB / 279.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.007328, allocations: 102.8 kB / 279.2 MB, free: 11.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.007467, allocations: 230.7 kB / 279.4 MB, free: 11.1 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.007481, allocations: 29.7 kB / 279.5 MB, free: 11.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.854e-05/0.007519, allocations: 104.5 kB / 279.6 MB, free: 10.96 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.007538, allocations: 19.88 kB / 279.6 MB, free: 10.94 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.007567, allocations: 17.72 kB / 279.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.297e-05/0.00764, allocations: 334.8 kB / 279.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.589e-05/0.007656, allocations: 14.81 kB / 279.9 MB, free: 10.56 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.002e-05/0.007686, allocations: 48.53 kB / 280 MB, free: 10.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.71e-05/0.007723, allocations: 39.33 kB / 280 MB, free: 10.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.007724, allocations: 0 / 280 MB, free: 10.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.627e-05/0.00779, allocations: 68.44 kB / 280.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.007801, allocations: 4 kB / 280.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.007804, allocations: 8.25 kB / 280.1 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.007816, allocations: 0 / 280.1 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.761e-05/0.007863, allocations: 15.98 kB / 280.1 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.275e-06/0.007866, allocations: 0 / 280.1 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.228e-05/0.007898, allocations: 11.89 kB / 280.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.007908, allocations: 8.031 kB / 280.1 MB, free: 10.33 MB / 266.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 6.433e-05/0.007973, allocations: 125.5 kB / 280.3 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.741e-05/0.00801, allocations: 49.56 kB / 280.3 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.219e-05/0.008092, allocations: 71.45 kB / 280.4 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.008094, allocations: 0 / 280.4 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.008096, allocations: 4 kB / 280.4 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.0081, allocations: 3.984 kB / 280.4 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.569e-05/0.008186, allocations: 109.8 kB / 280.5 MB, free: 9.934 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.008187, allocations: 0 / 280.5 MB, free: 9.934 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.863e-05/0.008206, allocations: 12 kB / 280.5 MB, free: 9.922 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.008207, allocations: 0 / 280.5 MB, free: 9.922 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.008215, allocations: 11.92 kB / 280.5 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.008217, allocations: 0 / 280.5 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.008218, allocations: 0 / 280.5 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.905e-05/0.008287, allocations: 100.5 kB / 280.6 MB, free: 9.785 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.03e-05/0.008327, allocations: 39.72 kB / 280.7 MB, free: 9.746 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.008343, allocations: 3.938 kB / 280.7 MB, free: 9.742 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.883e-05/0.008372, allocations: 4 kB / 280.7 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-05/0.008397, allocations: 15.97 kB / 280.7 MB, free: 9.723 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/0.008406, allocations: 8 kB / 280.7 MB, free: 9.715 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.022e-05/0.008466, allocations: 77.61 kB / 280.8 MB, free: 9.637 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008466, allocations: 0 / 280.8 MB, free: 9.637 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001355/0.008602, allocations: 31.98 kB / 280.8 MB, free: 9.605 MB / 266.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.001023/0.009625, allocations: 0.5083 MB / 281.3 MB, free: 9.332 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.021e-05/0.009715, allocations: 40.77 kB / 281.3 MB, free: 9.289 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.00972, allocations: 4 kB / 281.4 MB, free: 9.285 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3e-05/0.00975, allocations: 24.91 kB / 281.4 MB, free: 9.258 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001794/0.009929, allocations: 63.84 kB / 281.4 MB, free: 9.195 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003361/0.01027, allocations: 304.2 kB / 281.7 MB, free: 8.863 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.156e-05/0.01031, allocations: 75.83 kB / 281.8 MB, free: 8.77 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.683e-05/0.01035, allocations: 13.48 kB / 281.8 MB, free: 8.754 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.765e-05/0.01043, allocations: 79.36 kB / 281.9 MB, free: 8.676 MB / 266.7 MB Notification: Performance of SimCode: time 5.92e-07/0.01043, allocations: 4.188 kB / 281.9 MB, free: 8.672 MB / 266.7 MB Notification: Performance of Templates: time 0.004277/0.01471, allocations: 2.792 MB / 284.7 MB, free: 5.922 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.7455015797168016]