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.001899/0.001899, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.002308/0.002308, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.47/1.47, allocations: 230.5 MB / 258.1 MB, free: 8.004 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.00316/0.00316, allocations: 63.89 kB / 379 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.307, allocations: 53.4 MB / 432.4 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.00394/0.3109, allocations: 1.93 MB / 434.4 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002302/0.3132, allocations: 1.223 MB / 435.6 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.3134, allocations: 3.938 kB / 435.6 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006465/0.3141, allocations: 159.5 kB / 435.7 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004923/0.3145, allocations: 155.4 kB / 435.9 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005979/0.3151, allocations: 171 kB / 436.1 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003422/0.3155, allocations: 191.5 kB / 436.3 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.3156, allocations: 17.73 kB / 436.3 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/0.3158, allocations: 83.69 kB / 436.3 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.316, allocations: 83.55 kB / 436.4 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.316, allocations: 12 kB / 436.4 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.3161, allocations: 55.97 kB / 436.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.704e-05/0.3162, allocations: 47.83 kB / 436.5 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.213e-05/0.3163, allocations: 75.48 kB / 436.6 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003805/0.3167, allocations: 212.4 kB / 436.8 MB, free: 2.355 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3167, allocations: 0 / 436.8 MB, free: 2.355 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3167, allocations: 0 / 436.8 MB, free: 2.355 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.3167, allocations: 0 / 436.8 MB, free: 2.355 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.0009538/0.3177, allocations: 450.7 kB / 437.3 MB, free: 1.879 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.3177, allocations: 16.03 kB / 437.3 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.826e-05/0.3178, allocations: 20.8 kB / 437.3 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003801/0.3182, allocations: 217.1 kB / 437.5 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.3182, allocations: 4.375 kB / 437.5 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.3182, allocations: 8.375 kB / 437.5 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003608/0.3186, allocations: 147 kB / 437.7 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3186, allocations: 0 / 437.7 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.3186, allocations: 3.938 kB / 437.7 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.3186, allocations: 4 kB / 437.7 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.3187, allocations: 39.84 kB / 437.7 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005464/0.3193, allocations: 345.4 kB / 438.1 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/0.3195, allocations: 103.8 kB / 438.2 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.3196, allocations: 46.56 kB / 438.2 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.3196, allocations: 0 / 438.2 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.3198, allocations: 71.39 kB / 438.3 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.3198, allocations: 0 / 438.3 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003896/0.3202, allocations: 149.6 kB / 438.4 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.445e-05/0.3203, allocations: 132.5 kB / 438.5 MB, free: 424 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003087/0.3206, allocations: 273.1 kB / 438.8 MB, free: 144 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.3206, allocations: 29.7 kB / 438.8 MB, free: 108 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.3207, allocations: 112.3 kB / 439 MB, free: 15.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.3207, allocations: 15.91 kB / 439 MB, free: 15.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.839e-05/0.3208, allocations: 37.66 kB / 439 MB, free: 15.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.321, allocations: 334.8 kB / 439.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.503e-05/0.321, allocations: 23.98 kB / 439.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.702e-05/0.3211, allocations: 69.88 kB / 439.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.3213, allocations: 80.25 kB / 439.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3213, allocations: 0 / 439.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002183/0.3215, allocations: 113.5 kB / 439.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3215, allocations: 4 kB / 439.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.3215, allocations: 4 kB / 439.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.3215, allocations: 0 / 439.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.616e-05/0.3216, allocations: 24.05 kB / 439.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.3216, allocations: 3.984 kB / 439.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.107e-05/0.3217, allocations: 7.938 kB / 439.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.3217, allocations: 4 kB / 439.7 MB, free: 15.22 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.0001456/0.3218, allocations: 150.8 kB / 439.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.188e-05/0.3219, allocations: 69.48 kB / 439.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.3222, allocations: 111.3 kB / 440 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3222, allocations: 4.062 kB / 440 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3222, allocations: 0 / 440 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.3222, allocations: 7.984 kB / 440 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002142/0.3224, allocations: 204.5 kB / 440.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3224, allocations: 0 / 440.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.31e-05/0.3224, allocations: 11.98 kB / 440.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3224, allocations: 0 / 440.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.3225, allocations: 0 / 440.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.3225, allocations: 4 kB / 440.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3225, allocations: 0 / 440.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.3227, allocations: 158.5 kB / 440.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.602e-05/0.3228, allocations: 35.83 kB / 440.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.3228, allocations: 4 kB / 440.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.889e-05/0.3229, allocations: 4 kB / 440.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.089e-05/0.3229, allocations: 7.984 kB / 440.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.323, allocations: 8 kB / 440.4 MB, free: 14.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002264/0.3232, allocations: 200.5 kB / 440.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3232, allocations: 0 / 440.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002978/0.3235, allocations: 31.94 kB / 440.6 MB, free: 14.14 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.001543/0.325, allocations: 427.2 kB / 441.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002341/0.3253, allocations: 59.91 kB / 441.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.3253, allocations: 8.25 kB / 441.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.814e-05/0.3253, allocations: 20 kB / 441.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/0.3258, allocations: 69.66 kB / 441.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006762/0.3264, allocations: 342.4 kB / 441.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.3268, allocations: 0.7361 MB / 442.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.243e-05/0.3269, allocations: 19.44 kB / 442.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3269, allocations: 0 / 442.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of Templates: time 0.00556/0.3324, allocations: 2.663 MB / 445 MB, free: 9.914 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 [Calling sys.exit(0), Time elapsed: 7.7944687539711595]