Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",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.001362/0.001362, allocations: 101.3 kB / 16.5 MB, free: 6.641 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.00122/0.001221, allocations: 194.3 kB / 17.42 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.585/1.585, allocations: 222.9 MB / 241.1 MB, free: 15.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 51.7 kB / 300.1 MB, free: 6.199 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1304, allocations: 49.44 MB / 349.5 MB, free: 4.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.003384/0.1338, allocations: 1.542 MB / 351.1 MB, free: 3.191 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003996/0.1342, allocations: 139.5 kB / 351.2 MB, free: 3.055 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.43e-05/0.1343, allocations: 8 kB / 351.2 MB, free: 3.047 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.57e-05/0.1344, allocations: 3.938 kB / 351.2 MB, free: 3.043 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001349/0.1346, allocations: 3.984 kB / 351.2 MB, free: 3.039 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.1349, allocations: 39.89 kB / 351.2 MB, free: 3 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.824e-05/0.135, allocations: 27.92 kB / 351.3 MB, free: 2.973 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.529e-05/0.1351, allocations: 4 kB / 351.3 MB, free: 2.969 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.153e-05/0.1351, allocations: 11.94 kB / 351.3 MB, free: 2.957 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.308e-05/0.1351, allocations: 15.86 kB / 351.3 MB, free: 2.941 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.1352, allocations: 0 / 351.3 MB, free: 2.941 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.191e-05/0.1352, allocations: 4 kB / 351.3 MB, free: 2.938 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.356e-05/0.1353, allocations: 11.98 kB / 351.3 MB, free: 2.926 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.485e-05/0.1353, allocations: 23.8 kB / 351.3 MB, free: 2.902 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.846e-05/0.1354, allocations: 35.84 kB / 351.4 MB, free: 2.867 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.1354, allocations: 4 kB / 351.4 MB, free: 2.863 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1354, allocations: 0 / 351.4 MB, free: 2.863 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.259e-06/0.1354, allocations: 0 / 351.4 MB, free: 2.863 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005257/0.136, allocations: 355.5 kB / 351.7 MB, free: 2.465 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.136, allocations: 12.03 kB / 351.7 MB, free: 2.453 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.693e-05/0.1361, allocations: 46.67 kB / 351.8 MB, free: 2.398 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/0.1361, allocations: 12.78 kB / 351.8 MB, free: 2.387 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.1363, allocations: 187.4 kB / 352 MB, free: 2.168 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.1364, allocations: 4.375 kB / 352 MB, free: 2.164 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.1364, allocations: 384 / 352 MB, free: 2.164 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.1366, allocations: 89.61 kB / 352.1 MB, free: 2.059 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1367, allocations: 7.938 kB / 352.1 MB, free: 2.051 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.1367, allocations: 0 / 352.1 MB, free: 2.051 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1367, allocations: 0 / 352.1 MB, free: 2.051 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.31e-05/0.1368, allocations: 15.98 kB / 352.1 MB, free: 2.035 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.1371, allocations: 257.8 kB / 352.4 MB, free: 1.73 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.261e-05/0.1372, allocations: 49.14 kB / 352.4 MB, free: 1.664 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.953e-05/0.1373, allocations: 21.72 kB / 352.4 MB, free: 1.637 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.1373, allocations: 0 / 352.4 MB, free: 1.637 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.1373, allocations: 38.55 kB / 352.5 MB, free: 1.59 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 2.755e-06/0.1374, allocations: 0 / 352.5 MB, free: 1.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002477/0.1376, allocations: 69.56 kB / 352.5 MB, free: 1.516 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/0.1377, allocations: 77.11 kB / 352.6 MB, free: 1.422 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.1378, allocations: 134.1 kB / 352.7 MB, free: 1.277 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.1378, allocations: 25.7 kB / 352.8 MB, free: 1.246 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/0.1379, allocations: 88.14 kB / 352.8 MB, free: 1.156 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.046e-05/0.1379, allocations: 3.906 kB / 352.8 MB, free: 1.152 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.1379, allocations: 13.72 kB / 352.9 MB, free: 1.133 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1381, allocations: 319 kB / 353.2 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.795e-05/0.1381, allocations: 7.984 kB / 353.2 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.578e-05/0.1382, allocations: 17.72 kB / 353.2 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.19e-05/0.1382, allocations: 29.64 kB / 353.2 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1383, allocations: 4 kB / 353.2 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001043/0.1384, allocations: 57.67 kB / 353.3 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.1384, allocations: 7.938 kB / 353.3 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.1384, allocations: 8 kB / 353.3 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1384, allocations: 0 / 353.3 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.423e-05/0.1385, allocations: 4 kB / 353.3 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1385, allocations: 0 / 353.3 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.882e-05/0.1386, allocations: 4 kB / 353.3 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.1386, allocations: 0 / 353.3 MB, free: 0.6562 MB / 286.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: 2 (step.y,sample1.y) * 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.0001113/0.1387, allocations: 125.8 kB / 353.4 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.286e-05/0.1387, allocations: 37.61 kB / 353.5 MB, free: 492 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.265e-05/0.1388, allocations: 11.86 kB / 353.5 MB, free: 476 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.1388, allocations: 4 kB / 353.5 MB, free: 472 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1388, allocations: 0 / 353.5 MB, free: 472 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1388, allocations: 0 / 353.5 MB, free: 472 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.139, allocations: 161.6 kB / 353.6 MB, free: 260 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.139, allocations: 3.938 kB / 353.6 MB, free: 256 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.448e-05/0.1391, allocations: 11.92 kB / 353.7 MB, free: 244 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.1391, allocations: 12.02 kB / 353.7 MB, free: 232 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.1391, allocations: 0 / 353.7 MB, free: 232 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1391, allocations: 0 / 353.7 MB, free: 232 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1391, allocations: 3.984 kB / 353.7 MB, free: 228 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.1393, allocations: 156.2 kB / 353.8 MB, free: 52 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.882e-05/0.1394, allocations: 104.9 kB / 353.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.1394, allocations: 4.031 kB / 353.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.035e-05/0.1395, allocations: 3.984 kB / 353.9 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.1395, allocations: 4 kB / 353.9 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.1395, allocations: 0 / 353.9 MB, free: 15.92 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.664e-05/0.1396, allocations: 103.3 kB / 354 MB, free: 15.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1396, allocations: 0 / 354 MB, free: 15.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002218/0.1398, allocations: 0 / 354 MB, free: 15.82 MB / 302.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: 2 (step.y,sample1.y) * 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.0005832/0.1404, allocations: 0.7014 MB / 354.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000131/0.1406, allocations: 19.92 kB / 354.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1406, allocations: 0 / 354.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.635e-05/0.1406, allocations: 16.14 kB / 354.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.1411, allocations: 11.94 kB / 354.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.1428, allocations: 1.274 MB / 356.1 MB, free: 13.67 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/0.1433, allocations: 0.6848 MB / 356.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.627e-05/0.1433, allocations: 4 kB / 356.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.465e-05/0.1434, allocations: 11.44 kB / 356.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1434, allocations: 0 / 356.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01435/0.1578, allocations: 1.214 MB / 358 MB, free: 11.88 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003363/0.1581, allocations: 222.8 kB / 358.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.907/2.065, allocations: 3.938 kB / 358.2 MB, free: 11.61 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches