Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.001406/0.001406, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 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.0009849/0.0009849, allocations: 170.8 kB / 24.82 MB, free: 9.262 MB / 18.57 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 0.9705/0.9705, allocations: 177 MB / 205.1 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.517e-05/1.693e-05, allocations: 2.312 kB / 273.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003511/0.003528, allocations: 1.936 MB / 275.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002188/0.005716, allocations: 1.188 MB / 276.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.005866, allocations: 3.938 kB / 276.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006939/0.00656, allocations: 155.4 kB / 276.6 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004067/0.006966, allocations: 163.3 kB / 276.8 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004534/0.00742, allocations: 175.3 kB / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002583/0.007678, allocations: 195.4 kB / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.007786, allocations: 17.8 kB / 277.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.00796, allocations: 103.7 kB / 277.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.0081, allocations: 67.8 kB / 277.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.77e-05/0.008128, allocations: 12 kB / 277.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.008279, allocations: 63.83 kB / 277.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.381e-05/0.008353, allocations: 43.84 kB / 277.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.846e-05/0.008411, allocations: 39.84 kB / 277.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003044/0.008715, allocations: 155.4 kB / 277.6 MB, free: 12.9 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.008719, allocations: 0 / 277.6 MB, free: 12.9 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.00872, allocations: 0 / 277.6 MB, free: 12.9 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.008724, allocations: 0 / 277.6 MB, free: 12.9 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.0006507/0.009375, allocations: 0.54 MB / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.009417, allocations: 15.92 kB / 278.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.007e-05/0.009477, allocations: 32.8 kB / 278.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.009759, allocations: 224.4 kB / 278.4 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.009777, allocations: 4.312 kB / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.009793, allocations: 12.38 kB / 278.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.01004, allocations: 132.6 kB / 278.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.01005, allocations: 192 / 278.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.01006, allocations: 4.375 kB / 278.6 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.01006, allocations: 7.938 kB / 278.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.848e-05/0.01011, allocations: 11.98 kB / 278.6 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004377/0.01055, allocations: 319.6 kB / 278.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.01069, allocations: 117.3 kB / 279 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.614e-05/0.01074, allocations: 35.05 kB / 279.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.01076, allocations: 12 kB / 279.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001064/0.01087, allocations: 68.92 kB / 279.1 MB, free: 11.19 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 3.116e-06/0.01087, allocations: 3.984 kB / 279.1 MB, free: 11.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002339/0.0111, allocations: 113.5 kB / 279.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.01116, allocations: 110.7 kB / 279.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.01138, allocations: 284.2 kB / 279.6 MB, free: 10.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.0114, allocations: 29.7 kB / 279.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.231e-05/0.01149, allocations: 170.8 kB / 279.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.01152, allocations: 11.89 kB / 279.8 MB, free: 10.42 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.753e-05/0.01156, allocations: 39.56 kB / 279.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.01171, allocations: 0.5079 MB / 280.4 MB, free: 9.855 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.205e-05/0.01173, allocations: 4 kB / 280.4 MB, free: 9.852 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.022e-05/0.01178, allocations: 60.75 kB / 280.5 MB, free: 9.773 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.347e-05/0.01184, allocations: 35.36 kB / 280.5 MB, free: 9.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.01184, allocations: 7.875 kB / 280.5 MB, free: 9.723 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002475/0.01209, allocations: 81.53 kB / 280.6 MB, free: 9.637 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.0121, allocations: 6.969 kB / 280.6 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.0121, allocations: 0 / 280.6 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.01211, allocations: 4.062 kB / 280.6 MB, free: 9.629 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.34e-05/0.01218, allocations: 19.92 kB / 280.6 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.01218, allocations: 0 / 280.6 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.54e-05/0.01223, allocations: 7.938 kB / 280.6 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.01223, allocations: 0 / 280.6 MB, free: 9.602 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 8.609e-05/0.01232, allocations: 164.9 kB / 280.8 MB, free: 9.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.937e-05/0.01239, allocations: 69.44 kB / 280.8 MB, free: 9.355 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001399/0.01253, allocations: 91.44 kB / 280.9 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.01253, allocations: 4 kB / 280.9 MB, free: 9.254 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.01253, allocations: 4.062 kB / 280.9 MB, free: 9.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.01253, allocations: 0 / 280.9 MB, free: 9.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.01267, allocations: 141.2 kB / 281.1 MB, free: 9.086 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.01267, allocations: 0 / 281.1 MB, free: 9.086 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.988e-05/0.0127, allocations: 15.92 kB / 281.1 MB, free: 9.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01271, allocations: 0 / 281.1 MB, free: 9.07 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.086e-06/0.01272, allocations: 4 kB / 281.1 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.01272, allocations: 3.938 kB / 281.1 MB, free: 9.062 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.01272, allocations: 240 / 281.1 MB, free: 9.062 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.01285, allocations: 147.6 kB / 281.2 MB, free: 8.887 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.634e-05/0.01291, allocations: 35.84 kB / 281.3 MB, free: 8.852 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.01293, allocations: 0 / 281.3 MB, free: 8.852 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.819e-05/0.01298, allocations: 15.92 kB / 281.3 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.01301, allocations: 4 kB / 281.3 MB, free: 8.832 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.01302, allocations: 0 / 281.3 MB, free: 8.832 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001158/0.01313, allocations: 201.1 kB / 281.5 MB, free: 8.637 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01313, allocations: 3.938 kB / 281.5 MB, free: 8.633 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002253/0.01336, allocations: 27.94 kB / 281.5 MB, free: 8.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.0008639/0.01422, allocations: 400.1 kB / 281.9 MB, free: 8.328 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.933e-05/0.01431, allocations: 47.59 kB / 282 MB, free: 8.277 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.01431, allocations: 0 / 282 MB, free: 8.277 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.117e-05/0.01434, allocations: 23.67 kB / 282 MB, free: 8.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.01458, allocations: 72.66 kB / 282.1 MB, free: 8.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003149/0.01489, allocations: 305.9 kB / 282.4 MB, free: 7.848 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.073e-05/0.01493, allocations: 75.83 kB / 282.4 MB, free: 7.754 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.972e-05/0.01497, allocations: 25.75 kB / 282.5 MB, free: 7.723 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.05e-05/0.01505, allocations: 102.2 kB / 282.6 MB, free: 7.621 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01505, allocations: 0 / 282.6 MB, free: 7.621 MB / 266.7 MB Notification: Performance of Templates: time 0.004298/0.01935, allocations: 2.787 MB / 285.3 MB, free: 4.875 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.7382868849672377]