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.001301/0.001301, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.001316/0.001316, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.435/1.435, allocations: 230.2 MB / 254.5 MB, free: 15.09 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.001817/0.001817, allocations: 63.91 kB / 373.3 MB, free: 10.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1202, allocations: 53.32 MB / 426.7 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003738/0.1239, allocations: 1.918 MB / 428.6 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002349/0.1262, allocations: 1.2 MB / 429.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.1264, allocations: 7.938 kB / 429.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006547/0.127, allocations: 151.5 kB / 429.9 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000452/0.1275, allocations: 154.1 kB / 430.1 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000519/0.128, allocations: 175.4 kB / 430.2 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002733/0.1283, allocations: 187.6 kB / 430.4 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.1284, allocations: 13.56 kB / 430.4 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.1285, allocations: 87.55 kB / 430.5 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.1287, allocations: 75.69 kB / 430.6 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.595e-05/0.1287, allocations: 8 kB / 430.6 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.1288, allocations: 63.91 kB / 430.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.529e-05/0.1289, allocations: 43.83 kB / 430.7 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.775e-05/0.129, allocations: 75.48 kB / 430.8 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003528/0.1293, allocations: 211.1 kB / 431 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1293, allocations: 0 / 431 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1294, allocations: 3.938 kB / 431 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1294, allocations: 0 / 431 MB, free: 0.7109 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.0009915/0.1303, allocations: 0.5193 MB / 431.5 MB, free: 140 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1304, allocations: 8.031 kB / 431.5 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.098e-05/0.1305, allocations: 42.73 kB / 431.6 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.094e-05/0.1305, allocations: 20.8 kB / 431.6 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2124/0.3429, allocations: 273.8 kB / 431.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.343, allocations: 3.75 kB / 431.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.343, allocations: 8.125 kB / 431.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000381/0.3434, allocations: 141.8 kB / 432 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3434, allocations: 1.156 kB / 432 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.3434, allocations: 8.188 kB / 432 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.3434, allocations: 2.156 kB / 432 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.3435, allocations: 38.16 kB / 432.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000479/0.344, allocations: 362.3 kB / 432.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.3442, allocations: 102.4 kB / 432.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.092e-05/0.3443, allocations: 40.91 kB / 432.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.3443, allocations: 6.219 kB / 432.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.3445, allocations: 85.11 kB / 432.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 2.184e-06/0.3445, allocations: 0 / 432.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003668/0.3448, allocations: 138.1 kB / 432.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.704e-05/0.3449, allocations: 136 kB / 432.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/0.3452, allocations: 275 kB / 433.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.3452, allocations: 29.27 kB / 433.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.256e-05/0.3452, allocations: 119.8 kB / 433.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.3453, allocations: 21.03 kB / 433.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-05/0.3453, allocations: 33.5 kB / 433.4 MB, free: 10.35 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.166e-05/0.3454, allocations: 334.7 kB / 433.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.783e-05/0.3454, allocations: 19.33 kB / 433.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.273e-05/0.3455, allocations: 65.66 kB / 433.8 MB, free: 9.984 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.3456, allocations: 77.45 kB / 433.9 MB, free: 9.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.3456, allocations: 1.156 kB / 433.9 MB, free: 9.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001896/0.3458, allocations: 121.3 kB / 434 MB, free: 9.902 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.3458, allocations: 8.984 kB / 434 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3459, allocations: 1.344 kB / 434 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3459, allocations: 1.781 kB / 434 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.288e-05/0.3459, allocations: 13.12 kB / 434 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.346, allocations: 2.031 kB / 434 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.339e-05/0.346, allocations: 14.27 kB / 434 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.346, allocations: 7.344 kB / 434 MB, free: 9.898 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 9.768e-05/0.3461, allocations: 144.1 kB / 434.2 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.905e-05/0.3462, allocations: 77.23 kB / 434.2 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.405e-05/0.3463, allocations: 17.06 kB / 434.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.3463, allocations: 2.812 kB / 434.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3463, allocations: 0 / 434.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3463, allocations: 3.875 kB / 434.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.3464, allocations: 231.2 kB / 434.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.165e-06/0.3464, allocations: 6.344 kB / 434.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.357e-05/0.3464, allocations: 8.172 kB / 434.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.3464, allocations: 3.75 kB / 434.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.3465, allocations: 3.094 kB / 434.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3465, allocations: 1.469 kB / 434.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.3465, allocations: 1.594 kB / 434.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001966/0.3467, allocations: 165.6 kB / 434.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.721e-05/0.3467, allocations: 105.8 kB / 434.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.3467, allocations: 6.094 kB / 434.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.598e-05/0.3468, allocations: 3.812 kB / 434.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.3468, allocations: 9.391 kB / 434.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.3469, allocations: 3.719 kB / 434.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001493/0.347, allocations: 198.5 kB / 435 MB, free: 9.262 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.347, allocations: 0.8438 kB / 435 MB, free: 9.262 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002463/0.3472, allocations: 34.47 kB / 435 MB, free: 9.262 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.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.001701/0.3489, allocations: 1.009 MB / 436 MB, free: 8.586 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002001/0.3491, allocations: 70.08 kB / 436.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3492, allocations: 0 / 436.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.262e-05/0.3492, allocations: 21.94 kB / 436.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.3496, allocations: 66.2 kB / 436.2 MB, free: 8.582 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.3514, allocations: 1.943 MB / 438.1 MB, free: 7.305 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001698/0.3516, allocations: 0.7319 MB / 438.9 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.265e-05/0.3516, allocations: 24.91 kB / 438.9 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.988e-05/0.3517, allocations: 49.42 kB / 438.9 MB, free: 6.594 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3517, allocations: 1.125 kB / 438.9 MB, free: 6.594 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03879/0.3905, allocations: 4.658 MB / 443.6 MB, free: 5.781 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.096/8.486, allocations: 8.984 kB / 443.6 MB, free: 5.773 MB / 350.1 MB " [Timeout remaining time 651] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.009173169266433]