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.001159/0.001159, allocations: 80.36 kB / 20.67 MB, free: 3.891 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.0008325/0.0008325, allocations: 160.9 kB / 23.95 MB, free: 0.6133 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.9187/0.9187, allocations: 177 MB / 204.1 MB, free: 5.719 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: "" <> 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 1.703e-06/1.703e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.379e-05/2.55e-05, allocations: 3.266 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.002474/0.0025, allocations: 1.877 MB / 326.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.003798, allocations: 1.141 MB / 327.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.003906, allocations: 3.938 kB / 327.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005/0.004406, allocations: 163.4 kB / 327.7 MB, free: 12.67 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000268/0.004674, allocations: 155.3 kB / 327.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003279/0.005002, allocations: 169.7 kB / 328 MB, free: 12.35 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.005212, allocations: 191.3 kB / 328.2 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.005313, allocations: 29.78 kB / 328.2 MB, free: 12.13 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.005432, allocations: 103.7 kB / 328.3 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.159e-05/0.005524, allocations: 63.8 kB / 328.4 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.005543, allocations: 8 kB / 328.4 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.005652, allocations: 55.91 kB / 328.5 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.046e-05/0.005712, allocations: 55.77 kB / 328.5 MB, free: 11.85 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.527e-05/0.005757, allocations: 31.86 kB / 328.5 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.006001, allocations: 215.3 kB / 328.8 MB, free: 11.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.006003, allocations: 0 / 328.8 MB, free: 11.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.006004, allocations: 0 / 328.8 MB, free: 11.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.006008, allocations: 0 / 328.8 MB, free: 11.61 MB / 298.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.0005559/0.006564, allocations: 450.7 kB / 329.2 MB, free: 11.13 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.006601, allocations: 15.98 kB / 329.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.885e-05/0.00663, allocations: 38.73 kB / 329.2 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/0.006668, allocations: 24.78 kB / 329.3 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.00691, allocations: 208.8 kB / 329.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.006924, allocations: 4.375 kB / 329.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.006936, allocations: 16.25 kB / 329.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.007168, allocations: 146.4 kB / 329.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.007176, allocations: 192 / 329.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.007185, allocations: 4.125 kB / 329.6 MB, free: 10.63 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.00719, allocations: 0 / 329.6 MB, free: 10.63 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.846e-05/0.007258, allocations: 39.92 kB / 329.7 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.007619, allocations: 321.5 kB / 330 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.007772, allocations: 115.8 kB / 330.1 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.047e-05/0.007823, allocations: 46.56 kB / 330.2 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001256/0.007948, allocations: 0 / 330.2 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001183/0.008066, allocations: 79.33 kB / 330.2 MB, free: 9.945 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 9.72e-07/0.008067, allocations: 0 / 330.2 MB, free: 9.945 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002619/0.008329, allocations: 145.5 kB / 330.4 MB, free: 9.797 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/0.008391, allocations: 110.7 kB / 330.5 MB, free: 9.664 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.008608, allocations: 270.2 kB / 330.7 MB, free: 9.391 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.008623, allocations: 37.7 kB / 330.8 MB, free: 9.348 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.941e-05/0.008682, allocations: 116.1 kB / 330.9 MB, free: 9.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.008699, allocations: 15.89 kB / 330.9 MB, free: 9.215 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.008732, allocations: 25.67 kB / 330.9 MB, free: 9.184 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.244e-05/0.008814, allocations: 330.8 kB / 331.3 MB, free: 8.852 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.484e-05/0.008849, allocations: 15.98 kB / 331.3 MB, free: 8.836 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.219e-05/0.008901, allocations: 72.27 kB / 331.3 MB, free: 8.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.454e-05/0.008966, allocations: 57.58 kB / 331.4 MB, free: 8.688 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.008969, allocations: 4 kB / 331.4 MB, free: 8.684 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000103/0.009072, allocations: 97.61 kB / 331.5 MB, free: 8.582 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.009082, allocations: 4 kB / 331.5 MB, free: 8.578 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.237e-06/0.009086, allocations: 0 / 331.5 MB, free: 8.578 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.009099, allocations: 4 kB / 331.5 MB, free: 8.574 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.337e-05/0.009152, allocations: 11.94 kB / 331.5 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.009157, allocations: 160 / 331.5 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.308e-05/0.00919, allocations: 11.92 kB / 331.5 MB, free: 8.551 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.009198, allocations: 7.984 kB / 331.5 MB, free: 8.543 MB / 298.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,sample1.u) * 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.049e-05/0.009279, allocations: 142.1 kB / 331.7 MB, free: 8.395 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.872e-05/0.009328, allocations: 69.53 kB / 331.7 MB, free: 8.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.009464, allocations: 123.5 kB / 331.9 MB, free: 8.199 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.009466, allocations: 0 / 331.9 MB, free: 8.199 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.009469, allocations: 3.938 kB / 331.9 MB, free: 8.195 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.009473, allocations: 4 kB / 331.9 MB, free: 8.191 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.009601, allocations: 184.6 kB / 332.1 MB, free: 7.965 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.009602, allocations: 0 / 332.1 MB, free: 7.965 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-05/0.009619, allocations: 4 kB / 332.1 MB, free: 7.961 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.009622, allocations: 4 kB / 332.1 MB, free: 7.957 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.009631, allocations: 15.86 kB / 332.1 MB, free: 7.941 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.009632, allocations: 4.062 kB / 332.1 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.009634, allocations: 4 kB / 332.1 MB, free: 7.934 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.009779, allocations: 162.6 kB / 332.2 MB, free: 7.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.347e-05/0.009822, allocations: 31.83 kB / 332.3 MB, free: 7.719 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.009839, allocations: 4 kB / 332.3 MB, free: 7.715 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.175e-05/0.009871, allocations: 4 kB / 332.3 MB, free: 7.711 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.009903, allocations: 11.97 kB / 332.3 MB, free: 7.699 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.009913, allocations: 4 kB / 332.3 MB, free: 7.695 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000131/0.01004, allocations: 205.2 kB / 332.5 MB, free: 7.496 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01004, allocations: 0 / 332.5 MB, free: 7.496 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000161/0.01021, allocations: 31.94 kB / 332.5 MB, free: 7.465 MB / 298.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,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 (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.0009479/0.01115, allocations: 1.04 MB / 333.6 MB, free: 6.543 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001352/0.01129, allocations: 63.91 kB / 333.6 MB, free: 6.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.01129, allocations: 0 / 333.6 MB, free: 6.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.749e-05/0.01133, allocations: 23.94 kB / 333.7 MB, free: 6.457 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.01157, allocations: 68.84 kB / 333.7 MB, free: 6.395 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.01296, allocations: 1.914 MB / 335.6 MB, free: 4.367 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.729e-05/0.01304, allocations: 111.4 kB / 335.7 MB, free: 4.238 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.307e-05/0.01309, allocations: 25.72 kB / 335.8 MB, free: 4.211 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.316e-05/0.01315, allocations: 60.47 kB / 335.8 MB, free: 4.152 MB / 298.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01315, allocations: 0 / 335.8 MB, free: 4.152 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01657/0.02973, allocations: 5.45 MB / 341.3 MB, free: 14.74 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.79/6.82, allocations: 0 / 341.3 MB, free: 14.74 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins/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: 8.541844035498798]