Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.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.0008952/0.0008952, allocations: 80.34 kB / 20.67 MB, free: 3.895 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.001072/0.001072, allocations: 160.9 kB / 23.95 MB, free: 0.6172 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.9016/0.9016, allocations: 177 MB / 204.1 MB, free: 5.762 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.IntegerSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 324.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/1.972e-05, allocations: 6.281 kB / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.002881/0.002901, allocations: 1.878 MB / 326.4 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002003/0.004904, allocations: 1.238 MB / 327.6 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.00504, allocations: 4 kB / 327.6 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003046/0.005345, allocations: 67.59 kB / 327.7 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003206/0.005666, allocations: 139.3 kB / 327.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007357/0.006401, allocations: 243 kB / 328.1 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00034/0.006741, allocations: 179.5 kB / 328.2 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.006892, allocations: 17.8 kB / 328.3 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.007041, allocations: 95.73 kB / 328.4 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.007208, allocations: 75.78 kB / 328.4 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.007237, allocations: 8 kB / 328.4 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001756/0.007412, allocations: 79.81 kB / 328.5 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.007515, allocations: 55.77 kB / 328.6 MB, free: 11.83 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.513e-05/0.007581, allocations: 35.88 kB / 328.6 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003494/0.00793, allocations: 247.2 kB / 328.8 MB, free: 11.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.007932, allocations: 0 / 328.8 MB, free: 11.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.007933, allocations: 0 / 328.8 MB, free: 11.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.007938, allocations: 0 / 328.8 MB, free: 11.55 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.00055/0.008488, allocations: 482.5 kB / 329.3 MB, free: 11.05 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.008526, allocations: 15.92 kB / 329.3 MB, free: 11.03 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.196e-05/0.008558, allocations: 38.75 kB / 329.4 MB, free: 10.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.602e-05/0.008604, allocations: 24.8 kB / 329.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.008896, allocations: 224.8 kB / 329.6 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.008915, allocations: 12.36 kB / 329.6 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.008927, allocations: 4.375 kB / 329.6 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004987/0.009426, allocations: 176.5 kB / 329.8 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.009435, allocations: 4.125 kB / 329.8 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.009446, allocations: 8.125 kB / 329.8 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.009452, allocations: 4 kB / 329.8 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.096e-05/0.009533, allocations: 35.98 kB / 329.9 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004049/0.009938, allocations: 353.4 kB / 330.2 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.01013, allocations: 119.8 kB / 330.3 MB, free: 9.914 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.598e-05/0.01019, allocations: 50.55 kB / 330.4 MB, free: 9.855 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.01021, allocations: 0 / 330.4 MB, free: 9.855 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001321/0.01034, allocations: 83.31 kB / 330.4 MB, free: 9.762 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.01034, allocations: 0 / 330.4 MB, free: 9.762 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002574/0.0106, allocations: 157.4 kB / 330.6 MB, free: 9.602 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.867e-05/0.01066, allocations: 136.5 kB / 330.7 MB, free: 9.438 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.01088, allocations: 333.8 kB / 331.1 MB, free: 9.102 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.01089, allocations: 29.7 kB / 331.1 MB, free: 9.066 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.845e-05/0.01096, allocations: 136.1 kB / 331.2 MB, free: 8.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.01098, allocations: 11.91 kB / 331.2 MB, free: 8.918 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.01102, allocations: 33.64 kB / 331.3 MB, free: 8.879 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002257/0.01124, allocations: 334.8 kB / 331.6 MB, free: 8.543 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.089e-05/0.01128, allocations: 24.23 kB / 331.6 MB, free: 8.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.731e-05/0.01135, allocations: 110.8 kB / 331.7 MB, free: 8.387 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.344e-05/0.01143, allocations: 65.64 kB / 331.8 MB, free: 8.316 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.01144, allocations: 0 / 331.8 MB, free: 8.316 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001213/0.01156, allocations: 109.5 kB / 331.9 MB, free: 8.203 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.01157, allocations: 8 kB / 331.9 MB, free: 8.195 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.01158, allocations: 0 / 331.9 MB, free: 8.195 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.01159, allocations: 3.984 kB / 331.9 MB, free: 8.191 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.75e-05/0.01166, allocations: 15.98 kB / 331.9 MB, free: 8.176 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.01166, allocations: 4.219 kB / 331.9 MB, free: 8.172 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.012e-05/0.0117, allocations: 7.938 kB / 331.9 MB, free: 8.164 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.01171, allocations: 3.984 kB / 331.9 MB, free: 8.16 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,table.y) * 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 0.0001023/0.01181, allocations: 166 kB / 332.1 MB, free: 7.988 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.562e-05/0.01187, allocations: 61.56 kB / 332.2 MB, free: 7.922 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001774/0.01204, allocations: 127.4 kB / 332.3 MB, free: 7.797 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.01205, allocations: 0 / 332.3 MB, free: 7.797 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.01205, allocations: 4 kB / 332.3 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.01205, allocations: 4.062 kB / 332.3 MB, free: 7.789 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.0122, allocations: 208.6 kB / 332.5 MB, free: 7.543 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.0122, allocations: 0 / 332.5 MB, free: 7.543 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.052e-05/0.01224, allocations: 11.98 kB / 332.5 MB, free: 7.531 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.01224, allocations: 4 kB / 332.5 MB, free: 7.527 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.01225, allocations: 0 / 332.5 MB, free: 7.527 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.01225, allocations: 4 kB / 332.5 MB, free: 7.523 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.01225, allocations: 0 / 332.5 MB, free: 7.523 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.0124, allocations: 178.5 kB / 332.7 MB, free: 7.324 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-05/0.01245, allocations: 31.84 kB / 332.7 MB, free: 7.293 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.01248, allocations: 8 kB / 332.7 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.153e-05/0.01251, allocations: 8 kB / 332.7 MB, free: 7.277 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.266e-05/0.01256, allocations: 15.92 kB / 332.8 MB, free: 7.262 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.01258, allocations: 8.078 kB / 332.8 MB, free: 7.254 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001898/0.01277, allocations: 245.1 kB / 333 MB, free: 7.016 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01277, allocations: 0 / 333 MB, free: 7.016 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001849/0.01295, allocations: 39.92 kB / 333 MB, free: 6.977 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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.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.0009755/0.01393, allocations: 1.045 MB / 334.1 MB, free: 6.047 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001432/0.01407, allocations: 71.91 kB / 334.2 MB, free: 5.977 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01407, allocations: 0 / 334.2 MB, free: 5.977 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.062e-05/0.01412, allocations: 31.98 kB / 334.2 MB, free: 5.945 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.01439, allocations: 64.78 kB / 334.3 MB, free: 5.883 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.01619, allocations: 2.179 MB / 336.4 MB, free: 3.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.18e-05/0.01627, allocations: 136.2 kB / 336.6 MB, free: 3.438 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.395e-05/0.01633, allocations: 25.62 kB / 336.6 MB, free: 3.414 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.906e-05/0.0164, allocations: 64.45 kB / 336.7 MB, free: 3.352 MB / 298.7 MB Notification: Performance of SimCode: time 3.7e-07/0.0164, allocations: 0 / 336.7 MB, free: 3.352 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/0.04138, allocations: 6.17 MB / 342.8 MB, free: 13.21 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.72/6.762, allocations: 3.938 kB / 342.8 MB, free: 13.21 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.95804e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y,superSample1.y Variables in the result:periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,sample1.u,sample1.y,superSample1.factor,superSample1.inferFactor,superSample1.u,superSample1.y,table.combiTimeTable.columns[1],table.combiTimeTable.extrapolation,table.combiTimeTable.nHeaderLines,table.combiTimeTable.nout,table.combiTimeTable.offset[1],table.combiTimeTable.shiftTime,table.combiTimeTable.smoothness,table.combiTimeTable.startTime,table.combiTimeTable.t_max,table.combiTimeTable.t_maxScaled,table.combiTimeTable.t_min,table.combiTimeTable.t_minScaled,table.combiTimeTable.tableOnFile,table.combiTimeTable.table[1,1],table.combiTimeTable.table[1,2],table.combiTimeTable.table[2,1],table.combiTimeTable.table[2,2],table.combiTimeTable.table[3,1],table.combiTimeTable.table[3,2],table.combiTimeTable.table[4,1],table.combiTimeTable.table[4,2],table.combiTimeTable.table[5,1],table.combiTimeTable.table[5,2],table.combiTimeTable.timeEvents,table.combiTimeTable.timeScale,table.combiTimeTable.verboseExtrapolation,table.combiTimeTable.verboseRead,table.combiTimeTable.y[1],table.extrapolation,table.realToInteger.u,table.realToInteger.y,table.shiftTime,table.startTime,table.table[1,1],table.table[1,2],table.table[2,1],table.table[2,2],table.table[3,1],table.table[3,2],table.table[4,1],table.table[4,2],table.table[5,1],table.table[5,2],table.y,time [Calling sys.exit(0), Time elapsed: 8.461362753994763]