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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001347/0.001347, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002511/0.002511, allocations: 217.6 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 230.2 MB / 256.7 MB, free: 8.629 MB / 206.1 MB [Timeout remaining time 88] 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.003206/0.003206, allocations: 63.89 kB / 376.9 MB, free: 3.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3141, allocations: 53.31 MB / 430.2 MB, free: 7.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003924/0.318, allocations: 1.918 MB / 432.1 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002282/0.3203, allocations: 1.208 MB / 433.3 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.3205, allocations: 4 kB / 433.3 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006717/0.3211, allocations: 143.5 kB / 433.5 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004471/0.3216, allocations: 159.4 kB / 433.6 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005339/0.3221, allocations: 170.8 kB / 433.8 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002752/0.3224, allocations: 187.5 kB / 434 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.3225, allocations: 25.53 kB / 434 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.3227, allocations: 79.64 kB / 434.1 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.3228, allocations: 79.61 kB / 434.1 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.3229, allocations: 8 kB / 434.2 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.323, allocations: 59.95 kB / 434.2 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.836e-05/0.3231, allocations: 43.78 kB / 434.3 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.625e-05/0.3232, allocations: 75.55 kB / 434.3 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003549/0.3236, allocations: 208.4 kB / 434.5 MB, free: 3.285 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.3236, allocations: 0 / 434.5 MB, free: 3.285 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3236, allocations: 0 / 434.5 MB, free: 3.285 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.3236, allocations: 4 kB / 434.5 MB, free: 3.281 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.001075/0.3246, allocations: 0.5154 MB / 435 MB, free: 2.711 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.3247, allocations: 8.031 kB / 435.1 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.513e-05/0.3248, allocations: 24.8 kB / 435.1 MB, free: 2.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004323/0.3252, allocations: 279 kB / 435.4 MB, free: 2.367 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.3252, allocations: 4.375 kB / 435.4 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.3252, allocations: 12.12 kB / 435.4 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004016/0.3256, allocations: 142.7 kB / 435.5 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.3257, allocations: 7.875 kB / 435.5 MB, free: 2.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.3257, allocations: 4 kB / 435.5 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.3257, allocations: 0 / 435.5 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.3258, allocations: 39.95 kB / 435.6 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006182/0.3264, allocations: 362.3 kB / 435.9 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/0.3267, allocations: 107.9 kB / 436 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.51e-05/0.3268, allocations: 38.56 kB / 436.1 MB, free: 1.547 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.197e-05/0.3268, allocations: 8 kB / 436.1 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001761/0.327, allocations: 83.31 kB / 436.1 MB, free: 1.445 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.327, allocations: 0 / 436.1 MB, free: 1.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004349/0.3274, allocations: 137.5 kB / 436.3 MB, free: 1.305 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.3275, allocations: 140.8 kB / 436.4 MB, free: 1.137 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/0.3279, allocations: 265 kB / 436.7 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.3279, allocations: 29.7 kB / 436.7 MB, free: 0.832 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.912e-05/0.328, allocations: 116.1 kB / 436.8 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.3281, allocations: 23.83 kB / 436.8 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.662e-05/0.3281, allocations: 29.67 kB / 436.9 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000276/0.3284, allocations: 334.8 kB / 437.2 MB, free: 328 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.368e-05/0.3285, allocations: 19.94 kB / 437.2 MB, free: 308 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.3286, allocations: 77.98 kB / 437.3 MB, free: 208 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.3287, allocations: 76.27 kB / 437.4 MB, free: 116 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3287, allocations: 0 / 437.4 MB, free: 116 kB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002298/0.329, allocations: 113.6 kB / 437.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.329, allocations: 8 kB / 437.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.329, allocations: 0 / 437.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.329, allocations: 7.984 kB / 437.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.3291, allocations: 8 kB / 437.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.3291, allocations: 4 kB / 437.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.3293, allocations: 20.02 kB / 437.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.3293, allocations: 7.828 kB / 437.5 MB, free: 15.94 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.0001706/0.3294, allocations: 145.7 kB / 437.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.3296, allocations: 61.58 kB / 437.7 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003196/0.3299, allocations: 111.6 kB / 437.8 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.3299, allocations: 4 kB / 437.8 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3299, allocations: 64 / 437.8 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.3299, allocations: 7.938 kB / 437.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.3302, allocations: 237.7 kB / 438.1 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3302, allocations: 0 / 438.1 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.333e-05/0.3302, allocations: 4 kB / 438.1 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.3302, allocations: 0 / 438.1 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.3302, allocations: 4 kB / 438.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3302, allocations: 0 / 438.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3302, allocations: 0 / 438.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003696/0.3306, allocations: 162.6 kB / 438.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.3308, allocations: 109 kB / 438.4 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.3308, allocations: 4 kB / 438.4 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.071e-05/0.3309, allocations: 3.984 kB / 438.4 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.03e-05/0.3309, allocations: 7.938 kB / 438.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.428e-05/0.3309, allocations: 11.94 kB / 438.4 MB, free: 14.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003425/0.3313, allocations: 200.5 kB / 438.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3313, allocations: 0 / 438.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003776/0.3317, allocations: 36.02 kB / 438.6 MB, free: 14.74 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.001824/0.3335, allocations: 417.5 kB / 439 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002783/0.3338, allocations: 63.91 kB / 439.1 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3338, allocations: 4 kB / 439.1 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.914e-05/0.3339, allocations: 23.92 kB / 439.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006358/0.3345, allocations: 71.5 kB / 439.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008237/0.3353, allocations: 342.1 kB / 439.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.3357, allocations: 0.728 MB / 440.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.359e-05/0.3358, allocations: 31.61 kB / 440.3 MB, free: 13.15 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3358, allocations: 0 / 440.3 MB, free: 13.15 MB / 350.1 MB Notification: Performance of Templates: time 0.005327/0.3411, allocations: 2.663 MB / 442.9 MB, free: 10.5 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins1/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