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.001558/0.001558, allocations: 112.7 kB / 20.43 MB, free: 1.453 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.00166/0.00166, allocations: 214.7 kB / 23.74 MB, free: 4.66 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.401/1.401, allocations: 230.5 MB / 257.4 MB, free: 7.98 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 55.91 kB / 377.8 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3079, allocations: 53.42 MB / 431.2 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.004809/0.3127, allocations: 1.928 MB / 433.1 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002927/0.3156, allocations: 1.231 MB / 434.3 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003026/0.3159, allocations: 3.938 kB / 434.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009913/0.3169, allocations: 147.5 kB / 434.5 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007034/0.3176, allocations: 159.4 kB / 434.6 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007368/0.3183, allocations: 179.1 kB / 434.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004561/0.3188, allocations: 191.5 kB / 435 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.319, allocations: 21.73 kB / 435 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002356/0.3192, allocations: 83.62 kB / 435.1 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.3194, allocations: 71.64 kB / 435.2 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.405e-05/0.3194, allocations: 8 kB / 435.2 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000224/0.3197, allocations: 71.88 kB / 435.3 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.3198, allocations: 43.84 kB / 435.3 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.3199, allocations: 71.47 kB / 435.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005173/0.3204, allocations: 207.6 kB / 435.6 MB, free: 2.262 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.3204, allocations: 0 / 435.6 MB, free: 2.262 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.3204, allocations: 4 kB / 435.6 MB, free: 2.258 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.3204, allocations: 3.938 kB / 435.6 MB, free: 2.254 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.001094/0.3215, allocations: 454.7 kB / 436 MB, free: 1.773 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.3216, allocations: 16.02 kB / 436 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.446e-05/0.3216, allocations: 34.75 kB / 436.1 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.131e-05/0.3217, allocations: 24.8 kB / 436.1 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000427/0.3222, allocations: 213.1 kB / 436.3 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.3222, allocations: 12.31 kB / 436.3 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.3222, allocations: 4.375 kB / 436.3 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004095/0.3226, allocations: 142.9 kB / 436.5 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3226, allocations: 3.938 kB / 436.5 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.3226, allocations: 8 kB / 436.5 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.3226, allocations: 0 / 436.5 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.3228, allocations: 39.91 kB / 436.5 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006564/0.3234, allocations: 329.5 kB / 436.8 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.3237, allocations: 107.9 kB / 436.9 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.885e-05/0.3238, allocations: 42.56 kB / 437 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.587e-05/0.3238, allocations: 4.062 kB / 437 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001892/0.324, allocations: 79.33 kB / 437.1 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 3.857e-06/0.324, allocations: 3.984 kB / 437.1 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004163/0.3244, allocations: 141.5 kB / 437.2 MB, free: 440 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.3245, allocations: 136.5 kB / 437.3 MB, free: 272 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003424/0.3249, allocations: 277.3 kB / 437.6 MB, free: 15.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.3249, allocations: 29.7 kB / 437.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.325, allocations: 116.1 kB / 437.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.325, allocations: 11.91 kB / 437.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-05/0.3251, allocations: 33.66 kB / 437.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.3253, allocations: 330.8 kB / 438.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.824e-05/0.3253, allocations: 23.98 kB / 438.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.3254, allocations: 70.19 kB / 438.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.3256, allocations: 84.22 kB / 438.3 MB, free: 15.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3256, allocations: 4.031 kB / 438.3 MB, free: 15.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002314/0.3258, allocations: 113.5 kB / 438.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.3258, allocations: 8 kB / 438.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3259, allocations: 0 / 438.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.3259, allocations: 0 / 438.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.305e-05/0.326, allocations: 15.98 kB / 438.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.326, allocations: 0 / 438.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.223e-05/0.326, allocations: 11.88 kB / 438.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.326, allocations: 16 kB / 438.5 MB, free: 15.07 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.0001841/0.3262, allocations: 150.5 kB / 438.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.3263, allocations: 65.48 kB / 438.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.3266, allocations: 103.4 kB / 438.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3266, allocations: 0 / 438.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3266, allocations: 4 kB / 438.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3266, allocations: 0 / 438.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.3268, allocations: 204.6 kB / 439 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.3268, allocations: 4.062 kB / 439 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.139e-05/0.3269, allocations: 7.984 kB / 439 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3269, allocations: 3.938 kB / 439 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.3269, allocations: 4.125 kB / 439 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.3269, allocations: 4 kB / 439 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3269, allocations: 0 / 439 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002598/0.3271, allocations: 158.6 kB / 439.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.189e-05/0.3272, allocations: 35.77 kB / 439.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/0.3272, allocations: 8 kB / 439.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.016e-05/0.3273, allocations: 4 kB / 439.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.3274, allocations: 3.984 kB / 439.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.3274, allocations: 4 kB / 439.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002151/0.3276, allocations: 204.5 kB / 439.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3276, allocations: 0 / 439.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.3278, allocations: 27.94 kB / 439.4 MB, free: 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.002035/0.3299, allocations: 1.002 MB / 440.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002371/0.3301, allocations: 71.84 kB / 440.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3301, allocations: 0 / 440.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.967e-05/0.3302, allocations: 19.98 kB / 440.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.3306, allocations: 68.83 kB / 440.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.333, allocations: 1.949 MB / 442.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.3334, allocations: 0.7437 MB / 443.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.478e-05/0.3335, allocations: 21.47 kB / 443.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.3336, allocations: 47.42 kB / 443.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3336, allocations: 0 / 443.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03433/0.3679, allocations: 4.815 MB / 448.2 MB, free: 5.285 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.1, allocations: 7.844 kB / 448.2 MB, free: 5.277 MB / 350.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.98963e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 52.5] 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: 13.56329331593588]