Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.001682/0.001682, allocations: 105.4 kB / 19.81 MB, free: 2.516 MB / 14.72 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.001835/0.001835, allocations: 217.2 kB / 23 MB, free: 5.609 MB / 14.72 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.626/1.626, allocations: 230.2 MB / 256.2 MB, free: 8.555 MB / 206.1 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 63.89 kB / 376.5 MB, free: 3.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3048, allocations: 53.31 MB / 429.8 MB, free: 7.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.004378/0.3092, allocations: 1.938 MB / 431.7 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002397/0.3116, allocations: 1.215 MB / 432.9 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001882/0.3118, allocations: 0 / 432.9 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007289/0.3125, allocations: 151.5 kB / 433.1 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000544/0.3131, allocations: 155.4 kB / 433.2 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006765/0.3137, allocations: 178.9 kB / 433.4 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004981/0.3142, allocations: 187.5 kB / 433.6 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.3144, allocations: 21.55 kB / 433.6 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.3145, allocations: 75.69 kB / 433.7 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.3147, allocations: 79.56 kB / 433.8 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/0.3147, allocations: 12 kB / 433.8 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001706/0.3149, allocations: 55.95 kB / 433.8 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.36e-05/0.315, allocations: 43.84 kB / 433.9 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.988e-05/0.3151, allocations: 71.48 kB / 433.9 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003845/0.3154, allocations: 212.4 kB / 434.1 MB, free: 3.176 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3154, allocations: 0 / 434.1 MB, free: 3.176 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3154, allocations: 4 kB / 434.2 MB, free: 3.172 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.3155, allocations: 0 / 434.2 MB, free: 3.172 MB / 334.1 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.0008481/0.3163, allocations: 0.5155 MB / 434.7 MB, free: 2.602 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.3163, allocations: 12.03 kB / 434.7 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.319e-05/0.3164, allocations: 24.73 kB / 434.7 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.3168, allocations: 275 kB / 435 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.3168, allocations: 8.375 kB / 435 MB, free: 2.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.07e-05/0.3169, allocations: 8.375 kB / 435 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003562/0.3172, allocations: 143 kB / 435.1 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.3172, allocations: 7.922 kB / 435.1 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.3172, allocations: 3.984 kB / 435.1 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.3173, allocations: 8 kB / 435.1 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.3174, allocations: 35.92 kB / 435.2 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005803/0.3179, allocations: 362.3 kB / 435.5 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.3182, allocations: 103.9 kB / 435.6 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.948e-05/0.3183, allocations: 46.56 kB / 435.7 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.3183, allocations: 0 / 435.7 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/0.3185, allocations: 79.38 kB / 435.8 MB, free: 1.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.3185, allocations: 0 / 435.8 MB, free: 1.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004043/0.3189, allocations: 145.4 kB / 435.9 MB, free: 1.191 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.319, allocations: 132.5 kB / 436 MB, free: 1.031 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003269/0.3193, allocations: 273 kB / 436.3 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.3193, allocations: 29.95 kB / 436.3 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.3195, allocations: 124.1 kB / 436.5 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.3195, allocations: 19.89 kB / 436.5 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.916e-05/0.3195, allocations: 29.67 kB / 436.5 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3197, allocations: 334.8 kB / 436.8 MB, free: 208 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.02e-05/0.3198, allocations: 23.98 kB / 436.8 MB, free: 184 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.3199, allocations: 69.94 kB / 436.9 MB, free: 92 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.3201, allocations: 76.22 kB / 437 MB, free: 0 / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3201, allocations: 0 / 437 MB, free: 0 / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002384/0.3203, allocations: 113.6 kB / 437.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.3203, allocations: 7.984 kB / 437.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.3204, allocations: 4 kB / 437.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3204, allocations: 0 / 437.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.848e-05/0.3205, allocations: 15.94 kB / 437.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.3205, allocations: 0 / 437.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.299e-05/0.3205, allocations: 11.94 kB / 437.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.3206, allocations: 15.92 kB / 437.2 MB, free: 15.83 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,subSample1.y,subSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.00015/0.3207, allocations: 149.8 kB / 437.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.734e-05/0.3208, allocations: 61.55 kB / 437.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002467/0.321, allocations: 107.6 kB / 437.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.321, allocations: 0 / 437.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.321, allocations: 4.062 kB / 437.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.3211, allocations: 4 kB / 437.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.3213, allocations: 233.5 kB / 437.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3213, allocations: 0 / 437.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.688e-05/0.3213, allocations: 4.062 kB / 437.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.3213, allocations: 8 kB / 437.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.3213, allocations: 0 / 437.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.3213, allocations: 0 / 437.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3213, allocations: 4 kB / 437.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002768/0.3216, allocations: 154.6 kB / 437.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.3217, allocations: 113 kB / 438 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.3218, allocations: 4 kB / 438 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.377e-05/0.3218, allocations: 7.984 kB / 438 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.3219, allocations: 4 kB / 438 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.3219, allocations: 4 kB / 438 MB, free: 14.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002201/0.3221, allocations: 200.5 kB / 438.2 MB, free: 14.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3221, allocations: 96 / 438.2 MB, free: 14.67 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000277/0.3224, allocations: 39.86 kB / 438.2 MB, free: 14.63 MB / 350.1 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,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.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 (9): * Single equations (assignments): 7 * 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.00163/0.324, allocations: 431.7 kB / 438.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002731/0.3243, allocations: 63.91 kB / 438.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3243, allocations: 0 / 438.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.582e-05/0.3244, allocations: 23.92 kB / 438.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004852/0.3249, allocations: 59.31 kB / 438.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007731/0.3256, allocations: 324.9 kB / 439.1 MB, free: 13.85 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004668/0.3261, allocations: 0.7241 MB / 439.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.684e-05/0.3262, allocations: 21.53 kB / 439.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.571e-05/0.3262, allocations: 31.42 kB / 439.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of SimCode: time 1.252e-06/0.3262, allocations: 0 / 439.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of Templates: time 0.007035/0.3333, allocations: 2.477 MB / 442.4 MB, free: 10.59 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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: 5.280284205451608]