Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",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.001414/0.001414, allocations: 90.66 kB / 16.65 MB, free: 6.59 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.001696/0.001696, allocations: 185 kB / 17.57 MB, free: 6.199 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.574/1.574, allocations: 223.3 MB / 241.6 MB, free: 120 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003293/0.0003294, allocations: 4.531 kB / 301.5 MB, free: 6.027 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1202, allocations: 50.4 MB / 351.9 MB, free: 3.613 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002352/0.1226, allocations: 1.233 MB / 353.2 MB, free: 2.367 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005278/0.1231, allocations: 131.6 kB / 353.3 MB, free: 2.238 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.1233, allocations: 7.938 kB / 353.3 MB, free: 2.23 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.295e-05/0.1234, allocations: 7.984 kB / 353.3 MB, free: 2.223 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.1236, allocations: 7.922 kB / 353.3 MB, free: 2.215 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003596/0.1239, allocations: 27.98 kB / 353.3 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.1241, allocations: 31.91 kB / 353.4 MB, free: 2.156 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.1242, allocations: 12 kB / 353.4 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.923e-05/0.1243, allocations: 19.86 kB / 353.4 MB, free: 2.125 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.456e-05/0.1243, allocations: 11.88 kB / 353.4 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.1244, allocations: 0 / 353.4 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.21e-05/0.1244, allocations: 4 kB / 353.4 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.693e-05/0.1245, allocations: 11.92 kB / 353.4 MB, free: 2.098 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.959e-05/0.1245, allocations: 41.58 kB / 353.5 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.1246, allocations: 47.8 kB / 353.5 MB, free: 2.004 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.1247, allocations: 4 kB / 353.5 MB, free: 2 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1247, allocations: 0 / 353.5 MB, free: 2 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.1247, allocations: 0 / 353.5 MB, free: 2 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005815/0.1253, allocations: 355.6 kB / 353.9 MB, free: 1.602 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.1253, allocations: 12.03 kB / 353.9 MB, free: 1.59 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.027e-05/0.1254, allocations: 34.75 kB / 353.9 MB, free: 1.547 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.605e-05/0.1254, allocations: 8.844 kB / 353.9 MB, free: 1.539 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.1257, allocations: 200 kB / 354.1 MB, free: 1.305 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.1257, allocations: 4.375 kB / 354.1 MB, free: 1.301 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.1257, allocations: 4.375 kB / 354.1 MB, free: 1.297 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003566/0.1261, allocations: 121.6 kB / 354.3 MB, free: 1.16 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1261, allocations: 3.938 kB / 354.3 MB, free: 1.156 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.1261, allocations: 0 / 354.3 MB, free: 1.156 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.1262, allocations: 4 kB / 354.3 MB, free: 1.152 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.042e-05/0.1263, allocations: 15.98 kB / 354.3 MB, free: 1.137 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004213/0.1267, allocations: 261.8 kB / 354.5 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.127, allocations: 146.2 kB / 354.7 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.401e-05/0.127, allocations: 29.72 kB / 354.7 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.1271, allocations: 7.984 kB / 354.7 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.1271, allocations: 34.5 kB / 354.7 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.1271, allocations: 0 / 354.7 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003103/0.1274, allocations: 85.52 kB / 354.8 MB, free: 484 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.265e-05/0.1275, allocations: 85.23 kB / 354.9 MB, free: 380 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.1277, allocations: 134.1 kB / 355 MB, free: 232 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.1277, allocations: 25.7 kB / 355.1 MB, free: 200 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.5e-05/0.1278, allocations: 88.12 kB / 355.2 MB, free: 108 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.495e-05/0.1278, allocations: 3.906 kB / 355.2 MB, free: 104 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-05/0.1279, allocations: 13.72 kB / 355.2 MB, free: 84 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.1281, allocations: 314.8 kB / 355.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.625e-05/0.1281, allocations: 15.92 kB / 355.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.751e-05/0.1282, allocations: 39.42 kB / 355.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.1283, allocations: 51.36 kB / 355.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.1283, allocations: 3.938 kB / 355.6 MB, free: 15.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001589/0.1285, allocations: 69.56 kB / 355.7 MB, free: 15.56 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.1285, allocations: 4 kB / 355.7 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.1285, allocations: 0 / 355.7 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.1286, allocations: 4 kB / 355.7 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.481e-05/0.1286, allocations: 16.11 kB / 355.7 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.1287, allocations: 3.984 kB / 355.7 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.517e-05/0.1287, allocations: 11.94 kB / 355.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.1287, allocations: 4 kB / 355.7 MB, free: 15.52 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.000149/0.1289, allocations: 121.8 kB / 355.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.58e-05/0.129, allocations: 49.55 kB / 355.9 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.939e-05/0.129, allocations: 16.23 kB / 355.9 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.129, allocations: 4.328 kB / 355.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1291, allocations: 0 / 355.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1291, allocations: 0 / 355.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.1293, allocations: 173.6 kB / 356.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.1293, allocations: 3.984 kB / 356.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.254e-05/0.1294, allocations: 8 kB / 356.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.1294, allocations: 0 / 356.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.1294, allocations: 0 / 356.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1294, allocations: 0 / 356.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.1294, allocations: 4 kB / 356.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002254/0.1296, allocations: 176.2 kB / 356.2 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.633e-05/0.1297, allocations: 93 kB / 356.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.1298, allocations: 4 kB / 356.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.441e-05/0.1298, allocations: 3.984 kB / 356.3 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.1299, allocations: 4 kB / 356.3 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.1299, allocations: 4 kB / 356.3 MB, free: 14.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.558e-05/0.13, allocations: 106.5 kB / 356.5 MB, free: 14.65 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.13, allocations: 3.938 kB / 356.5 MB, free: 14.65 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002361/0.1302, allocations: 4 kB / 356.5 MB, free: 14.64 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: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0005799/0.1308, allocations: 0.7131 MB / 357.2 MB, free: 13.9 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001532/0.131, allocations: 35.97 kB / 357.2 MB, free: 13.87 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.131, allocations: 3.938 kB / 357.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.206e-05/0.131, allocations: 12.19 kB / 357.2 MB, free: 13.85 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004855/0.1315, allocations: 31.33 kB / 357.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.1332, allocations: 1.341 MB / 358.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.1335, allocations: 0.6926 MB / 359.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.493e-05/0.1336, allocations: 4 kB / 359.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.11e-05/0.1336, allocations: 11.44 kB / 359.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1336, allocations: 0 / 359.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01511/0.1487, allocations: 1.229 MB / 360.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003867/0.1492, allocations: 213.6 kB / 360.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.088/2.238, allocations: 0 / 360.7 MB, free: 10.3 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches