Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 114.1 kB / 18.46 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 216.3 kB / 21.42 MB, free: 1.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.447/1.447, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 47.94 kB / 374.1 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1162, allocations: 53.33 MB / 427.5 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.00415/0.1204, allocations: 1.909 MB / 429.4 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002253/0.1227, allocations: 1.234 MB / 430.6 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.1228, allocations: 11.94 kB / 430.6 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006765/0.1235, allocations: 147.5 kB / 430.8 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004453/0.1239, allocations: 155.3 kB / 430.9 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005441/0.1245, allocations: 179.1 kB / 431.1 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002728/0.1247, allocations: 187.5 kB / 431.3 MB, free: 468 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.1249, allocations: 21.55 kB / 431.3 MB, free: 448 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.125, allocations: 87.56 kB / 431.4 MB, free: 360 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.1251, allocations: 75.67 kB / 431.5 MB, free: 284 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.1251, allocations: 12 kB / 431.5 MB, free: 272 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.1253, allocations: 59.91 kB / 431.5 MB, free: 212 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.6e-05/0.1253, allocations: 43.84 kB / 431.6 MB, free: 168 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.918e-05/0.1254, allocations: 75.47 kB / 431.7 MB, free: 92 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2091/0.3345, allocations: 204.9 kB / 431.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.3345, allocations: 2.344 kB / 431.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3346, allocations: 0 / 431.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.3346, allocations: 3.312 kB / 431.9 MB, free: 8.43 MB / 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.0009462/0.3355, allocations: 0.5118 MB / 432.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.3356, allocations: 11.05 kB / 432.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.515e-05/0.3356, allocations: 25.83 kB / 432.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/0.336, allocations: 275.8 kB / 432.7 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.336, allocations: 6.781 kB / 432.7 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.336, allocations: 5.156 kB / 432.7 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003338/0.3363, allocations: 148.9 kB / 432.8 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.3363, allocations: 1.719 kB / 432.8 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.3364, allocations: 2.469 kB / 432.8 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.3364, allocations: 2.375 kB / 432.8 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.3365, allocations: 36.64 kB / 432.9 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004584/0.3369, allocations: 366.9 kB / 433.2 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.3372, allocations: 101.8 kB / 433.3 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.22e-05/0.3372, allocations: 54.06 kB / 433.4 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.3373, allocations: 2.375 kB / 433.4 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001585/0.3374, allocations: 72.67 kB / 433.5 MB, free: 7.223 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.3374, allocations: 2.312 kB / 433.5 MB, free: 7.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003713/0.3378, allocations: 140.5 kB / 433.6 MB, free: 7.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/0.3378, allocations: 138 kB / 433.7 MB, free: 7.023 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002936/0.3381, allocations: 269.6 kB / 434 MB, free: 6.914 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.3382, allocations: 27.48 kB / 434 MB, free: 6.883 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.886e-05/0.3382, allocations: 118.9 kB / 434.1 MB, free: 6.801 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.3383, allocations: 21.55 kB / 434.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.243e-05/0.3383, allocations: 36.58 kB / 434.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.923e-05/0.3384, allocations: 334.7 kB / 434.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.089e-05/0.3384, allocations: 21.02 kB / 434.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.329e-05/0.3385, allocations: 70.11 kB / 434.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.3386, allocations: 75.73 kB / 434.7 MB, free: 6.359 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3386, allocations: 0 / 434.7 MB, free: 6.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001969/0.3388, allocations: 116.8 kB / 434.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.3388, allocations: 8.812 kB / 434.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3389, allocations: 2.125 kB / 434.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.3389, allocations: 1.719 kB / 434.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.173e-05/0.339, allocations: 17.25 kB / 434.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.339, allocations: 1.844 kB / 434.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.623e-05/0.339, allocations: 9.875 kB / 434.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.339, allocations: 3.5 kB / 434.8 MB, free: 6.32 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,table.y,superSample1.y,superSample1.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 9.177e-05/0.3391, allocations: 144 kB / 435 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.946e-05/0.3392, allocations: 66.84 kB / 435.1 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.805e-05/0.3392, allocations: 30.92 kB / 435.1 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.3392, allocations: 3.828 kB / 435.1 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.3393, allocations: 3.125 kB / 435.1 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.3393, allocations: 0 / 435.1 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.3394, allocations: 237.7 kB / 435.3 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3394, allocations: 0 / 435.3 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.556e-05/0.3394, allocations: 4.281 kB / 435.3 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.3394, allocations: 1.625 kB / 435.3 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.3394, allocations: 10.09 kB / 435.3 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3395, allocations: 4.156 kB / 435.3 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3395, allocations: 0 / 435.3 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/0.3397, allocations: 157.4 kB / 435.5 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.64e-05/0.3397, allocations: 110.5 kB / 435.6 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.3398, allocations: 4.875 kB / 435.6 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.815e-05/0.3398, allocations: 4.156 kB / 435.6 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.3399, allocations: 5.797 kB / 435.6 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.3399, allocations: 9.375 kB / 435.6 MB, free: 5.746 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001667/0.34, allocations: 202.7 kB / 435.8 MB, free: 5.668 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.34, allocations: 1.156 kB / 435.8 MB, free: 5.668 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.3403, allocations: 33.53 kB / 435.9 MB, free: 5.66 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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.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.001488/0.3418, allocations: 418.4 kB / 436.3 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002235/0.342, allocations: 71.86 kB / 436.3 MB, free: 5.512 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.342, allocations: 0 / 436.3 MB, free: 5.512 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.699e-05/0.3421, allocations: 22.77 kB / 436.4 MB, free: 5.512 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/0.3425, allocations: 57.83 kB / 436.4 MB, free: 5.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000548/0.3431, allocations: 355.8 kB / 436.8 MB, free: 5.293 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001678/0.3432, allocations: 0.7337 MB / 437.5 MB, free: 4.594 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.35e-05/0.3433, allocations: 17.22 kB / 437.5 MB, free: 4.586 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3433, allocations: 0 / 437.5 MB, free: 4.586 MB / 350.1 MB Notification: Performance of Templates: time 0.005938/0.3492, allocations: 2.673 MB / 440.2 MB, free: 4.309 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.819379733002279]