Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001787/0.001787, allocations: 108.2 kB / 16.51 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 194.5 kB / 17.43 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 222.9 MB / 241.1 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 43.05 kB / 300.1 MB, free: 6.211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1325, allocations: 49.44 MB / 349.5 MB, free: 4.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.004111/0.1367, allocations: 1.929 MB / 351.4 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.1388, allocations: 1.138 MB / 352.6 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001964/0.1391, allocations: 0 / 352.6 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000406/0.1395, allocations: 63.8 kB / 352.6 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003035/0.1399, allocations: 75.72 kB / 352.7 MB, free: 1.531 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008561/0.1407, allocations: 245.2 kB / 352.9 MB, free: 1.297 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002718/0.141, allocations: 159.5 kB / 353.1 MB, free: 1.141 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.1412, allocations: 29.55 kB / 353.1 MB, free: 1.113 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.1413, allocations: 55.72 kB / 353.2 MB, free: 1.059 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.1414, allocations: 87.59 kB / 353.3 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.1415, allocations: 4 kB / 353.3 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.1416, allocations: 47.98 kB / 353.3 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.223e-05/0.1417, allocations: 47.83 kB / 353.4 MB, free: 0.875 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.096e-05/0.1418, allocations: 75.41 kB / 353.4 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003101/0.1422, allocations: 227.5 kB / 353.7 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1422, allocations: 0 / 353.7 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.001e-06/0.1422, allocations: 0 / 353.7 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.1422, allocations: 0 / 353.7 MB, free: 0.5781 MB / 286.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.0008591/0.1431, allocations: 0.5312 MB / 354.2 MB, free: 15.99 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.1431, allocations: 8.031 kB / 354.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.358e-05/0.1432, allocations: 42.69 kB / 354.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.052e-05/0.1432, allocations: 20.66 kB / 354.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003881/0.1436, allocations: 279.6 kB / 354.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.1437, allocations: 8.375 kB / 354.5 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.1437, allocations: 11.92 kB / 354.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004083/0.1441, allocations: 159.6 kB / 354.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1441, allocations: 0 / 354.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.1442, allocations: 7.984 kB / 354.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.1442, allocations: 11.92 kB / 354.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.1443, allocations: 31.92 kB / 354.8 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005889/0.1449, allocations: 390.3 kB / 355.1 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002572/0.1452, allocations: 111.9 kB / 355.3 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.1453, allocations: 50.55 kB / 355.3 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.1453, allocations: 0 / 355.3 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002357/0.1456, allocations: 79.39 kB / 355.4 MB, free: 14.63 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 4.138e-06/0.1456, allocations: 0 / 355.4 MB, free: 14.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004353/0.146, allocations: 157.2 kB / 355.5 MB, free: 14.47 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.306e-05/0.1461, allocations: 162.2 kB / 355.7 MB, free: 14.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003736/0.1465, allocations: 334.6 kB / 356 MB, free: 13.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.1466, allocations: 25.7 kB / 356 MB, free: 13.9 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.1467, allocations: 128.1 kB / 356.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.1468, allocations: 11.81 kB / 356.2 MB, free: 13.76 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.328e-05/0.1469, allocations: 41.89 kB / 356.2 MB, free: 13.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002687/0.1471, allocations: 334.8 kB / 356.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.393e-05/0.1472, allocations: 20 kB / 356.6 MB, free: 13.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.1473, allocations: 86.86 kB / 356.7 MB, free: 13.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.1475, allocations: 84.22 kB / 356.7 MB, free: 13.15 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1475, allocations: 0 / 356.7 MB, free: 13.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002669/0.1478, allocations: 125.3 kB / 356.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.1478, allocations: 4 kB / 356.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.1478, allocations: 12.06 kB / 356.9 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.1479, allocations: 0 / 356.9 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.148, allocations: 19.98 kB / 356.9 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.148, allocations: 0 / 356.9 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.078e-05/0.1481, allocations: 11.94 kB / 356.9 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.1481, allocations: 4 kB / 356.9 MB, free: 12.97 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.0001614/0.1483, allocations: 153.7 kB / 357.1 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.1484, allocations: 69.75 kB / 357.1 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.327e-05/0.1485, allocations: 29.7 kB / 357.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1485, allocations: 0 / 357.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.1485, allocations: 4 kB / 357.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.1485, allocations: 7.938 kB / 357.2 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.1487, allocations: 233.6 kB / 357.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.1487, allocations: 4 kB / 357.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.894e-05/0.1488, allocations: 15.92 kB / 357.4 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.1488, allocations: 0 / 357.4 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.1489, allocations: 8 kB / 357.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.1489, allocations: 0 / 357.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1489, allocations: 4.031 kB / 357.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002839/0.1492, allocations: 170.3 kB / 357.6 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.1493, allocations: 112.8 kB / 357.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.155e-05/0.1493, allocations: 7.938 kB / 357.7 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.786e-05/0.1494, allocations: 4 kB / 357.7 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.678e-05/0.1495, allocations: 15.92 kB / 357.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.1495, allocations: 8 kB / 357.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002417/0.1498, allocations: 241.9 kB / 358 MB, free: 11.8 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1498, allocations: 0 / 358 MB, free: 11.8 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002744/0.15, allocations: 32 kB / 358 MB, free: 11.77 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.001476/0.1515, allocations: 1.023 MB / 359 MB, free: 10.88 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002253/0.1518, allocations: 75.84 kB / 359.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1518, allocations: 0 / 359.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.46e-05/0.1519, allocations: 27.98 kB / 359.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.1523, allocations: 75.44 kB / 359.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002908/0.1552, allocations: 2.227 MB / 361.4 MB, free: 8.352 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004555/0.1557, allocations: 0.74 MB / 362.2 MB, free: 7.586 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001218/0.1558, allocations: 25.53 kB / 362.2 MB, free: 7.559 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.1559, allocations: 59.41 kB / 362.3 MB, free: 7.5 MB / 302.1 MB Notification: Performance of SimCode: time 9.32e-07/0.1559, allocations: 0 / 362.3 MB, free: 7.5 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0216/0.1776, allocations: 4.901 MB / 367.2 MB, free: 2.754 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003516/0.178, allocations: 264.9 kB / 367.4 MB, free: 2.445 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.188/2.366, allocations: 0 / 367.4 MB, free: 2.445 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches