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.001251/0.001251, allocations: 107.8 kB / 19.17 MB, free: 3.871 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.001352/0.001352, allocations: 208.9 kB / 22.13 MB, free: 0.918 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.45/1.45, allocations: 230.2 MB / 255.2 MB, free: 15.25 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.001825/0.001825, allocations: 63.89 kB / 374.5 MB, free: 9.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09268/0.09451, allocations: 53.32 MB / 427.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003385/0.09789, allocations: 1.913 MB / 429.7 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002124/0.1, allocations: 1.207 MB / 431 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.1001, allocations: 3.938 kB / 431 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006052/0.1007, allocations: 147.5 kB / 431.1 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003826/0.1011, allocations: 155.4 kB / 431.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004532/0.1016, allocations: 177.4 kB / 431.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002563/0.1018, allocations: 183.5 kB / 431.6 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.1019, allocations: 25.53 kB / 431.6 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.1021, allocations: 79.64 kB / 431.7 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.1022, allocations: 75.67 kB / 431.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.381e-05/0.1022, allocations: 11.94 kB / 431.8 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.1023, allocations: 59.95 kB / 431.8 MB, free: 472 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.163e-05/0.1024, allocations: 43.84 kB / 431.9 MB, free: 428 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.22e-05/0.1025, allocations: 71.5 kB / 432 MB, free: 356 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003126/0.1028, allocations: 215 kB / 432.2 MB, free: 140 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1028, allocations: 0 / 432.2 MB, free: 140 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1028, allocations: 3.938 kB / 432.2 MB, free: 136 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.1028, allocations: 4 kB / 432.2 MB, free: 132 kB / 350.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.1864/0.2893, allocations: 0.513 MB / 432.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.2893, allocations: 9.094 kB / 432.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.572e-05/0.2894, allocations: 22.95 kB / 432.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003201/0.2897, allocations: 270 kB / 433 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.2897, allocations: 9.344 kB / 433 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.2897, allocations: 5.625 kB / 433 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003171/0.2901, allocations: 148.2 kB / 433.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.2901, allocations: 0.9688 kB / 433.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.2901, allocations: 4.219 kB / 433.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2901, allocations: 3.375 kB / 433.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.2902, allocations: 34.03 kB / 433.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003821/0.2906, allocations: 364.7 kB / 433.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.2908, allocations: 106.1 kB / 433.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.557e-05/0.2909, allocations: 44.05 kB / 433.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.2909, allocations: 2.891 kB / 433.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.291, allocations: 81 kB / 433.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.291, allocations: 3.375 kB / 433.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003534/0.2914, allocations: 140.8 kB / 433.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.2914, allocations: 136.9 kB / 434 MB, free: 10.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.2917, allocations: 273.2 kB / 434.3 MB, free: 10.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.2917, allocations: 30.73 kB / 434.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.674e-05/0.2917, allocations: 116.7 kB / 434.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.2918, allocations: 20.92 kB / 434.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.593e-05/0.2918, allocations: 30.7 kB / 434.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.019e-05/0.2919, allocations: 328.2 kB / 434.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.062e-05/0.2919, allocations: 24.34 kB / 434.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.424e-05/0.292, allocations: 67.64 kB / 434.9 MB, free: 9.961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.2921, allocations: 81.08 kB / 435 MB, free: 9.922 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2921, allocations: 0.6562 kB / 435 MB, free: 9.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001865/0.2923, allocations: 116.9 kB / 435.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.2923, allocations: 4.812 kB / 435.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2923, allocations: 6.188 kB / 435.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.2923, allocations: 1.219 kB / 435.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.914e-05/0.2924, allocations: 14.84 kB / 435.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.2924, allocations: 2.312 kB / 435.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.618e-05/0.2925, allocations: 18.39 kB / 435.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.2925, allocations: 5.219 kB / 435.2 MB, free: 9.875 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 8.921e-05/0.2926, allocations: 142.6 kB / 435.3 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.797e-05/0.2927, allocations: 67.2 kB / 435.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.441e-05/0.2927, allocations: 22.5 kB / 435.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2927, allocations: 4.922 kB / 435.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.2927, allocations: 0 / 435.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.2927, allocations: 0 / 435.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.2928, allocations: 233.5 kB / 435.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.2928, allocations: 7.031 kB / 435.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.503e-05/0.2929, allocations: 10.98 kB / 435.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.2929, allocations: 4.297 kB / 435.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.2929, allocations: 7.344 kB / 435.7 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2929, allocations: 0 / 435.7 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2929, allocations: 2.766 kB / 435.7 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.2931, allocations: 157.6 kB / 435.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.769e-05/0.2931, allocations: 107.1 kB / 435.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/0.2932, allocations: 4.594 kB / 435.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.174e-05/0.2932, allocations: 9 kB / 435.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.2933, allocations: 7.422 kB / 435.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.2933, allocations: 6.219 kB / 435.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001504/0.2934, allocations: 200.3 kB / 436.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2934, allocations: 480 / 436.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.2937, allocations: 31.28 kB / 436.2 MB, free: 9.234 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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * 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.001417/0.2951, allocations: 420.2 kB / 436.6 MB, free: 9.094 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002101/0.2953, allocations: 64.11 kB / 436.6 MB, free: 9.094 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2953, allocations: 0 / 436.6 MB, free: 9.094 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.498e-05/0.2954, allocations: 25.69 kB / 436.7 MB, free: 9.094 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.2958, allocations: 64.09 kB / 436.7 MB, free: 9.086 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004909/0.2963, allocations: 354.3 kB / 437.1 MB, free: 8.859 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/0.2964, allocations: 0.7317 MB / 437.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.264e-05/0.2964, allocations: 24.67 kB / 437.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2964, allocations: 0 / 437.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of Templates: time 0.00506/0.3015, allocations: 2.668 MB / 440.5 MB, free: 7.879 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.657260645879433]