Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 124.7 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002257/0.002257, allocations: 186.9 kB / 20.73 MB, free: 2.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 225.6 MB / 249.1 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 51.92 kB / 365.6 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1149, allocations: 52.14 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003049/0.118, allocations: 1.561 MB / 419.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009518/0.1189, allocations: 490.7 kB / 419.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.958e-05/0.119, allocations: 3.938 kB / 419.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.014e-05/0.1191, allocations: 3.938 kB / 419.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001408/0.1192, allocations: 11.92 kB / 419.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.1195, allocations: 47.83 kB / 419.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.1196, allocations: 39.86 kB / 419.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.1197, allocations: 15.98 kB / 419.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.415e-05/0.1198, allocations: 23.86 kB / 419.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.301e-05/0.1198, allocations: 19.92 kB / 420 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.1199, allocations: 4 kB / 420 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.039e-05/0.1199, allocations: 0 / 420 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.516e-05/0.1199, allocations: 15.92 kB / 420 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.281e-05/0.12, allocations: 27.81 kB / 420 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.1201, allocations: 55.67 kB / 420.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.1201, allocations: 0 / 420.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.097e-06/0.1201, allocations: 4 kB / 420.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1201, allocations: 0 / 420.1 MB, free: 10.3 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006105/0.1208, allocations: 387 kB / 420.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.1208, allocations: 8.031 kB / 420.5 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.021e-05/0.1209, allocations: 42.75 kB / 420.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.1209, allocations: 8.891 kB / 420.5 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004223/0.1213, allocations: 202.2 kB / 420.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.584e-06/0.1213, allocations: 384 / 420.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.1213, allocations: 4.375 kB / 420.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003505/0.1217, allocations: 109.2 kB / 420.8 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.1217, allocations: 3.938 kB / 420.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1217, allocations: 4 kB / 420.8 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.1217, allocations: 0 / 420.8 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.832e-05/0.1218, allocations: 23.86 kB / 420.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/0.1223, allocations: 269.7 kB / 421.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.1224, allocations: 41.16 kB / 421.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.949e-05/0.1225, allocations: 21.77 kB / 421.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.1225, allocations: 4 kB / 421.2 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.1225, allocations: 34.56 kB / 421.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.1225, allocations: 0 / 421.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002904/0.1228, allocations: 65.61 kB / 421.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.588e-05/0.1229, allocations: 77.11 kB / 421.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.1231, allocations: 142.4 kB / 421.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.1231, allocations: 25.7 kB / 421.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.195e-05/0.1232, allocations: 96.12 kB / 421.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.1232, allocations: 3.938 kB / 421.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.47e-05/0.1232, allocations: 17.67 kB / 421.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002084/0.1234, allocations: 322.8 kB / 421.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.946e-05/0.1235, allocations: 11.94 kB / 422 MB, free: 8.152 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.78e-05/0.1235, allocations: 25.7 kB / 422 MB, free: 8.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.363e-05/0.1236, allocations: 25.7 kB / 422 MB, free: 8.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.1236, allocations: 0 / 422 MB, free: 8.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000145/0.1238, allocations: 53.62 kB / 422.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.1238, allocations: 4 kB / 422.1 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.1238, allocations: 4.125 kB / 422.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.1238, allocations: 4 kB / 422.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.025e-05/0.1239, allocations: 7.984 kB / 422.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1239, allocations: 0 / 422.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.638e-05/0.1239, allocations: 4 kB / 422.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.497e-06/0.124, allocations: 0 / 422.1 MB, free: 8.008 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001183/0.1241, allocations: 118.4 kB / 422.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.8e-05/0.1242, allocations: 49.58 kB / 422.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.083e-05/0.1242, allocations: 7.875 kB / 422.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1242, allocations: 4.031 kB / 422.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.1242, allocations: 0 / 422.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1242, allocations: 0 / 422.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.1245, allocations: 173.5 kB / 422.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.1245, allocations: 8 kB / 422.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.625e-05/0.1245, allocations: 7.984 kB / 422.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1245, allocations: 3.984 kB / 422.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.1245, allocations: 0 / 422.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1245, allocations: 0 / 422.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/0.1245, allocations: 4 kB / 422.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.1248, allocations: 164.2 kB / 422.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.724e-05/0.1249, allocations: 89.05 kB / 422.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.1249, allocations: 15.92 kB / 422.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.239e-05/0.1249, allocations: 0 / 422.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.125, allocations: 0 / 422.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.125, allocations: 4 kB / 422.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.217e-05/0.1251, allocations: 113.5 kB / 422.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1251, allocations: 0 / 422.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002183/0.1253, allocations: 4 kB / 422.8 MB, free: 7.152 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0006205/0.1259, allocations: 0.6976 MB / 423.5 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001681/0.1261, allocations: 23.92 kB / 423.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1261, allocations: 0 / 423.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.625e-05/0.1261, allocations: 8 kB / 423.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.1265, allocations: 16.02 kB / 423.6 MB, free: 6.379 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.1279, allocations: 1.319 MB / 424.9 MB, free: 4.973 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.1283, allocations: 0.6883 MB / 425.6 MB, free: 4.258 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.433e-05/0.1283, allocations: 3.984 kB / 425.6 MB, free: 4.254 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.719e-05/0.1284, allocations: 15.44 kB / 425.6 MB, free: 4.238 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1284, allocations: 4.031 kB / 425.6 MB, free: 4.234 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02618/0.1546, allocations: 1.547 MB / 427.2 MB, free: 2.805 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.142/8.297, allocations: 4.609 kB / 427.2 MB, free: 2.801 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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: 10.887911660131067]