Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001573/0.001573, allocations: 113.9 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001908/0.001908, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.652/1.652, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 59.88 kB / 306.6 MB, free: 0.8555 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1221, allocations: 50.53 MB / 357.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.003506/0.1256, allocations: 1.574 MB / 358.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004592/0.1261, allocations: 139.5 kB / 358.8 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.1263, allocations: 4 kB / 358.8 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.839e-05/0.1264, allocations: 4 kB / 358.8 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001454/0.1265, allocations: 7.922 kB / 358.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.1268, allocations: 35.91 kB / 358.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.1269, allocations: 27.94 kB / 358.9 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.1271, allocations: 23.91 kB / 358.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.701e-05/0.1271, allocations: 7.938 kB / 358.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.196e-05/0.1272, allocations: 15.92 kB / 358.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.1272, allocations: 4 kB / 358.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.131e-05/0.1272, allocations: 8 kB / 358.9 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.306e-05/0.1273, allocations: 19.91 kB / 359 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.077e-05/0.1273, allocations: 19.88 kB / 359 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.1274, allocations: 43.77 kB / 359 MB, free: 12.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1274, allocations: 4 kB / 359 MB, free: 12.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1274, allocations: 0 / 359 MB, free: 12.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1275, allocations: 0 / 359 MB, free: 12.38 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005795/0.128, allocations: 363.5 kB / 359.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.1281, allocations: 8.031 kB / 359.4 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.274e-05/0.1282, allocations: 38.73 kB / 359.4 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.81e-05/0.1282, allocations: 8.844 kB / 359.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.1284, allocations: 196 kB / 359.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.1285, allocations: 4.375 kB / 359.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.1285, allocations: 8.375 kB / 359.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003233/0.1288, allocations: 121.5 kB / 359.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1288, allocations: 3.938 kB / 359.8 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.1289, allocations: 0 / 359.8 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.1289, allocations: 4 kB / 359.8 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.6e-05/0.129, allocations: 23.92 kB / 359.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.1293, allocations: 253.8 kB / 360 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.1296, allocations: 146.2 kB / 360.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.973e-05/0.1297, allocations: 29.77 kB / 360.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.1297, allocations: 0 / 360.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.1297, allocations: 34.56 kB / 360.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.1297, allocations: 0 / 360.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002972/0.13, allocations: 81.5 kB / 360.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.284e-05/0.1301, allocations: 81.11 kB / 360.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.1303, allocations: 136.4 kB / 360.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.1303, allocations: 25.7 kB / 360.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.465e-05/0.1303, allocations: 88.08 kB / 360.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.055e-05/0.1304, allocations: 4.125 kB / 360.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.786e-05/0.1304, allocations: 29.61 kB / 360.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1306, allocations: 310.8 kB / 361 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.846e-05/0.1306, allocations: 19.92 kB / 361 MB, free: 10.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.912e-05/0.1307, allocations: 23.44 kB / 361 MB, free: 10.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.041e-05/0.1308, allocations: 51.36 kB / 361.1 MB, free: 10.03 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.1308, allocations: 3.938 kB / 361.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001291/0.1309, allocations: 65.61 kB / 361.1 MB, free: 9.953 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.1309, allocations: 8 kB / 361.1 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.131, allocations: 4.125 kB / 361.2 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.131, allocations: 0 / 361.2 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.316e-05/0.131, allocations: 8 kB / 361.2 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.1311, allocations: 3.984 kB / 361.2 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.851e-05/0.1311, allocations: 7.938 kB / 361.2 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.1311, allocations: 4 kB / 361.2 MB, free: 9.918 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.0001203/0.1313, allocations: 126.8 kB / 361.3 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.004e-05/0.1313, allocations: 49.59 kB / 361.3 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.202e-05/0.1314, allocations: 12.25 kB / 361.4 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1314, allocations: 4 kB / 361.4 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1314, allocations: 0 / 361.4 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.1314, allocations: 3.984 kB / 361.4 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.1316, allocations: 165.5 kB / 361.5 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1317, allocations: 4 kB / 361.5 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.651e-05/0.1317, allocations: 11.98 kB / 361.5 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.1317, allocations: 4.328 kB / 361.5 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.138e-06/0.1318, allocations: 0 / 361.5 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1318, allocations: 0 / 361.5 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.1318, allocations: 3.938 kB / 361.6 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/0.132, allocations: 176.2 kB / 361.7 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.745e-05/0.1321, allocations: 89 kB / 361.8 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.1321, allocations: 4 kB / 361.8 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.037e-05/0.1322, allocations: 8 kB / 361.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.1322, allocations: 0 / 361.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.882e-06/0.1322, allocations: 7.922 kB / 361.8 MB, free: 9.152 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.778e-05/0.1323, allocations: 111.3 kB / 361.9 MB, free: 9.043 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1323, allocations: 0 / 361.9 MB, free: 9.043 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002289/0.1326, allocations: 4 kB / 361.9 MB, free: 9.039 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.0005416/0.1331, allocations: 0.7053 MB / 362.6 MB, free: 8.305 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001504/0.1333, allocations: 31.91 kB / 362.7 MB, free: 8.273 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1333, allocations: 4 kB / 362.7 MB, free: 8.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.263e-05/0.1333, allocations: 4 kB / 362.7 MB, free: 8.266 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.1338, allocations: 26.67 kB / 362.7 MB, free: 8.242 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.1351, allocations: 1.34 MB / 364.1 MB, free: 6.801 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.1354, allocations: 0.6924 MB / 364.7 MB, free: 6.082 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.922e-05/0.1355, allocations: 0 / 364.7 MB, free: 6.082 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.019e-05/0.1355, allocations: 15.44 kB / 364.8 MB, free: 6.066 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1355, allocations: 0 / 364.8 MB, free: 6.066 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01149/0.147, allocations: 1.331 MB / 366.1 MB, free: 4.867 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002091/0.1473, allocations: 218.9 kB / 366.3 MB, free: 4.605 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.064/2.211, allocations: 3.375 kB / 366.3 MB, free: 4.605 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches