Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.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.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001765/0.001766, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002342/0.002343, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002167/0.002168, allocations: 59.44 kB / 307.1 MB, free: 0.5234 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1246, allocations: 50.53 MB / 357.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.003258/0.1279, allocations: 1.428 MB / 359 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001993/0.1281, allocations: 27.91 kB / 359 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.685e-05/0.1282, allocations: 4 kB / 359 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.727e-05/0.1283, allocations: 3.938 kB / 359 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.673e-05/0.1283, allocations: 3.938 kB / 359.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.1286, allocations: 23.97 kB / 359.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.243e-05/0.1287, allocations: 27.92 kB / 359.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1288, allocations: 12 kB / 359.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.943e-05/0.1289, allocations: 15.92 kB / 359.1 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.508e-05/0.1289, allocations: 7.938 kB / 359.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.129, allocations: 0 / 359.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.371e-05/0.129, allocations: 4 kB / 359.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.74e-05/0.129, allocations: 11.97 kB / 359.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.092e-05/0.129, allocations: 15.88 kB / 359.2 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.1292, allocations: 31.91 kB / 359.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1292, allocations: 0 / 359.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1292, allocations: 0 / 359.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.1292, allocations: 4 kB / 359.2 MB, free: 12.36 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005334/0.1297, allocations: 343.7 kB / 359.5 MB, free: 11.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.1298, allocations: 8.031 kB / 359.5 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.367e-05/0.1298, allocations: 38.73 kB / 359.6 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.15e-05/0.1299, allocations: 8.844 kB / 359.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.1301, allocations: 180.2 kB / 359.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.1301, allocations: 12.31 kB / 359.8 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.1301, allocations: 384 / 359.8 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003812/0.1305, allocations: 123.8 kB / 359.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1305, allocations: 3.938 kB / 359.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1306, allocations: 0 / 359.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1306, allocations: 3.938 kB / 359.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.1307, allocations: 27.97 kB / 359.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001657/0.1309, allocations: 157.7 kB / 360.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.1311, allocations: 62.48 kB / 360.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.943e-05/0.1311, allocations: 24.92 kB / 360.2 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.1312, allocations: 3.984 kB / 360.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.1312, allocations: 30.56 kB / 360.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1312, allocations: 4 kB / 360.2 MB, free: 11.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003005/0.1315, allocations: 77.59 kB / 360.3 MB, free: 11.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.06e-05/0.1316, allocations: 63.34 kB / 360.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.307e-05/0.1317, allocations: 109.8 kB / 360.5 MB, free: 10.9 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.1317, allocations: 25.7 kB / 360.5 MB, free: 10.87 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.346e-05/0.1318, allocations: 80.14 kB / 360.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.1318, allocations: 7.906 kB / 360.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.1318, allocations: 13.72 kB / 360.6 MB, free: 10.76 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.132, allocations: 322.8 kB / 360.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.656e-05/0.132, allocations: 4 kB / 360.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.091e-05/0.1321, allocations: 33.12 kB / 360.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.263e-05/0.1321, allocations: 39.73 kB / 361 MB, free: 10.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1321, allocations: 0 / 361 MB, free: 10.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001017/0.1322, allocations: 65.72 kB / 361 MB, free: 10.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.1323, allocations: 7.938 kB / 361 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.1323, allocations: 4 kB / 361.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.1323, allocations: 4 kB / 361.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.031e-05/0.1324, allocations: 7.938 kB / 361.1 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.1324, allocations: 4 kB / 361.1 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.119e-05/0.1324, allocations: 0 / 361.1 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.1324, allocations: 4 kB / 361.1 MB, free: 10.23 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: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001024/0.1325, allocations: 117.8 kB / 361.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/0.1327, allocations: 69.55 kB / 361.3 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.977e-05/0.1328, allocations: 15.83 kB / 361.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1328, allocations: 0 / 361.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.1328, allocations: 4 kB / 361.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1328, allocations: 3.938 kB / 361.3 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.1329, allocations: 153.7 kB / 361.4 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1329, allocations: 0 / 361.4 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.836e-05/0.133, allocations: 15.92 kB / 361.4 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.133, allocations: 3.938 kB / 361.4 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/0.133, allocations: 0 / 361.4 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.133, allocations: 0 / 361.4 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.133, allocations: 4 kB / 361.4 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.1332, allocations: 89.09 kB / 361.5 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.716e-05/0.1333, allocations: 88.95 kB / 361.6 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.1333, allocations: 3.938 kB / 361.6 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.597e-05/0.1334, allocations: 8 kB / 361.6 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.003e-06/0.1334, allocations: 0 / 361.6 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.1334, allocations: 3.984 kB / 361.6 MB, free: 9.555 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.448e-05/0.1334, allocations: 83.28 kB / 361.7 MB, free: 9.473 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1334, allocations: 0 / 361.7 MB, free: 9.473 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002161/0.1337, allocations: 8 kB / 361.7 MB, free: 9.465 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.0005765/0.1343, allocations: 0.6439 MB / 362.4 MB, free: 8.793 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001559/0.1344, allocations: 40.11 kB / 362.4 MB, free: 8.754 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1344, allocations: 0 / 362.4 MB, free: 8.754 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.01e-07/0.1344, allocations: 0 / 362.4 MB, free: 8.754 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.1348, allocations: 28.08 kB / 362.4 MB, free: 8.727 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.1359, allocations: 1.193 MB / 363.6 MB, free: 7.434 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.1362, allocations: 0.6807 MB / 364.3 MB, free: 6.727 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.318e-05/0.1362, allocations: 4 kB / 364.3 MB, free: 6.723 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.142e-05/0.1363, allocations: 11.42 kB / 364.3 MB, free: 6.711 MB / 302.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1363, allocations: 0 / 364.3 MB, free: 6.711 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01694/0.1532, allocations: 1.335 MB / 365.7 MB, free: 5.496 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.669/7.823, allocations: 7.234 kB / 365.7 MB, free: 5.492 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches