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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001414/0.001414, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001171/0.001172, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001607, allocations: 58.62 kB / 307.1 MB, free: 0.5664 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1097, allocations: 50.53 MB / 357.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.004776/0.1145, allocations: 1.885 MB / 359.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002343/0.1169, allocations: 1.304 MB / 360.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002326/0.1172, allocations: 4 kB / 360.8 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00041/0.1176, allocations: 63.67 kB / 360.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005019/0.1181, allocations: 139.4 kB / 361 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007343/0.1189, allocations: 230.7 kB / 361.2 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002606/0.1192, allocations: 179.5 kB / 361.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.1193, allocations: 37.52 kB / 361.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.1194, allocations: 67.7 kB / 361.5 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.1196, allocations: 87.55 kB / 361.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.1196, allocations: 8 kB / 361.6 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.1198, allocations: 67.97 kB / 361.6 MB, free: 9.973 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.634e-05/0.1199, allocations: 51.83 kB / 361.7 MB, free: 9.922 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.034e-05/0.12, allocations: 79.42 kB / 361.8 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003392/0.1204, allocations: 239.4 kB / 362 MB, free: 9.609 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1204, allocations: 0 / 362 MB, free: 9.609 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1204, allocations: 0 / 362 MB, free: 9.609 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.1204, allocations: 0 / 362 MB, free: 9.609 MB / 302.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.0007772/0.1212, allocations: 0.5427 MB / 362.5 MB, free: 9.012 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.1212, allocations: 12.03 kB / 362.6 MB, free: 9 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.519e-05/0.1213, allocations: 38.75 kB / 362.6 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.855e-05/0.1214, allocations: 24.66 kB / 362.6 MB, free: 8.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003546/0.1217, allocations: 287.6 kB / 362.9 MB, free: 8.609 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.1217, allocations: 4.375 kB / 362.9 MB, free: 8.605 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.1218, allocations: 11.94 kB / 362.9 MB, free: 8.594 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003345/0.1221, allocations: 155.6 kB / 363.1 MB, free: 8.414 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.1221, allocations: 0 / 363.1 MB, free: 8.414 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.1221, allocations: 3.984 kB / 363.1 MB, free: 8.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.1222, allocations: 4 kB / 363.1 MB, free: 8.406 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.1223, allocations: 31.92 kB / 363.1 MB, free: 8.375 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005139/0.1228, allocations: 394.3 kB / 363.5 MB, free: 7.934 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.1231, allocations: 115.9 kB / 363.6 MB, free: 7.793 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.057e-05/0.1232, allocations: 54.5 kB / 363.7 MB, free: 7.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.1232, allocations: 0 / 363.7 MB, free: 7.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002448/0.1234, allocations: 79.38 kB / 363.7 MB, free: 7.641 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 2.324e-06/0.1235, allocations: 0 / 363.7 MB, free: 7.641 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003987/0.1239, allocations: 157.5 kB / 363.9 MB, free: 7.48 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.273e-05/0.124, allocations: 158.2 kB / 364 MB, free: 7.289 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003448/0.1243, allocations: 342.6 kB / 364.4 MB, free: 6.941 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.1243, allocations: 29.7 kB / 364.4 MB, free: 6.906 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.906e-05/0.1244, allocations: 128.1 kB / 364.5 MB, free: 6.777 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.1245, allocations: 19.8 kB / 364.5 MB, free: 6.758 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.543e-05/0.1245, allocations: 29.72 kB / 364.6 MB, free: 6.723 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.1246, allocations: 334.8 kB / 364.9 MB, free: 6.387 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.293e-05/0.1247, allocations: 23.98 kB / 364.9 MB, free: 6.363 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.1248, allocations: 86.84 kB / 365 MB, free: 6.254 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.125, allocations: 84.22 kB / 365.1 MB, free: 6.156 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.125, allocations: 3.938 kB / 365.1 MB, free: 6.152 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002366/0.1253, allocations: 121.3 kB / 365.2 MB, free: 6.027 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.1253, allocations: 6.969 kB / 365.2 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.1253, allocations: 0 / 365.2 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1253, allocations: 4 kB / 365.2 MB, free: 6.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.1254, allocations: 24.05 kB / 365.2 MB, free: 5.996 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.1255, allocations: 4 kB / 365.3 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.267e-05/0.1256, allocations: 15.84 kB / 365.3 MB, free: 5.977 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.1256, allocations: 11.92 kB / 365.3 MB, free: 5.965 MB / 302.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,table.y,superSample1.y,superSample1.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.0001346/0.1257, allocations: 153.7 kB / 365.4 MB, free: 5.805 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.589e-05/0.1258, allocations: 69.44 kB / 365.5 MB, free: 5.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.757e-05/0.1259, allocations: 21.7 kB / 365.5 MB, free: 5.711 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1259, allocations: 8.062 kB / 365.5 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.1259, allocations: 0 / 365.5 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.1259, allocations: 7.969 kB / 365.5 MB, free: 5.695 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.1261, allocations: 245.6 kB / 365.8 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1261, allocations: 320 / 365.8 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.936e-05/0.1262, allocations: 11.98 kB / 365.8 MB, free: 5.395 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.1262, allocations: 0 / 365.8 MB, free: 5.395 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.1262, allocations: 11.94 kB / 365.8 MB, free: 5.383 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1262, allocations: 3.938 kB / 365.8 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.1262, allocations: 4 kB / 365.8 MB, free: 5.375 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.1265, allocations: 170.4 kB / 366 MB, free: 5.184 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.446e-05/0.1266, allocations: 112.9 kB / 366.1 MB, free: 5.055 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.1267, allocations: 4 kB / 366.1 MB, free: 5.051 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.729e-05/0.1267, allocations: 4 kB / 366.1 MB, free: 5.047 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5e-05/0.1268, allocations: 15.92 kB / 366.1 MB, free: 5.031 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.1268, allocations: 4 kB / 366.1 MB, free: 5.027 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002277/0.1271, allocations: 253.9 kB / 366.4 MB, free: 4.781 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1271, allocations: 0 / 366.4 MB, free: 4.781 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000338/0.1274, allocations: 36 kB / 366.4 MB, free: 4.746 MB / 302.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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.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.001571/0.129, allocations: 1.006 MB / 367.4 MB, free: 3.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002349/0.1292, allocations: 75.84 kB / 367.5 MB, free: 3.766 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1293, allocations: 0 / 367.5 MB, free: 3.766 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.482e-05/0.1293, allocations: 27.98 kB / 367.5 MB, free: 3.738 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/0.1298, allocations: 68.89 kB / 367.6 MB, free: 3.672 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002474/0.1323, allocations: 2.226 MB / 369.8 MB, free: 1.332 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.1325, allocations: 0.7358 MB / 370.5 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.099e-05/0.1326, allocations: 25.55 kB / 370.6 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.692e-05/0.1327, allocations: 63.41 kB / 370.6 MB, free: 496 kB / 302.1 MB Notification: Performance of SimCode: time 9.42e-07/0.1327, allocations: 0 / 370.6 MB, free: 496 kB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1912/0.3239, allocations: 5.211 MB / 375.8 MB, free: 19.64 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.569/7.893, allocations: 12.95 kB / 375.8 MB, free: 19.64 MB / 302.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches