Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_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.001349/0.001349, allocations: 116.9 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001633/0.001633, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.619/1.619, allocations: 227.4 MB / 246.4 MB, free: 9.094 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 59.72 kB / 306.6 MB, free: 0.6133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1262, allocations: 50.53 MB / 357.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.003911/0.1302, allocations: 1.531 MB / 358.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002748/0.1305, allocations: 19.94 kB / 358.6 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.1306, allocations: 3.938 kB / 358.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.848e-05/0.1307, allocations: 7.922 kB / 358.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.655e-05/0.1308, allocations: 3.984 kB / 358.7 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003769/0.1312, allocations: 23.94 kB / 358.7 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.1314, allocations: 23.98 kB / 358.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.1315, allocations: 15.97 kB / 358.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.262e-05/0.1316, allocations: 11.94 kB / 358.7 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.778e-05/0.1317, allocations: 19.86 kB / 358.7 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.1317, allocations: 4 kB / 358.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.586e-05/0.1317, allocations: 4 kB / 358.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.858e-05/0.1318, allocations: 7.938 kB / 358.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.008e-05/0.1318, allocations: 11.94 kB / 358.8 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.1319, allocations: 35.88 kB / 358.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.132, allocations: 0 / 358.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.132, allocations: 4 kB / 358.8 MB, free: 12.35 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.132, allocations: 0 / 358.8 MB, free: 12.35 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.0005732/0.1326, allocations: 343.7 kB / 359.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.1326, allocations: 12.03 kB / 359.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.151e-05/0.1327, allocations: 30.75 kB / 359.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.1327, allocations: 8.844 kB / 359.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.1329, allocations: 180.3 kB / 359.4 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.133, allocations: 8.312 kB / 359.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.133, allocations: 4.375 kB / 359.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004013/0.1334, allocations: 119.8 kB / 359.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.1334, allocations: 7.938 kB / 359.5 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.1334, allocations: 0 / 359.5 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.1335, allocations: 3.984 kB / 359.5 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.1336, allocations: 23.98 kB / 359.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001769/0.1338, allocations: 161.7 kB / 359.7 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.134, allocations: 50.55 kB / 359.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.767e-05/0.1341, allocations: 28.92 kB / 359.8 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.1341, allocations: 0 / 359.8 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.1341, allocations: 38.5 kB / 359.8 MB, free: 11.17 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.1341, allocations: 0 / 359.8 MB, free: 11.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003046/0.1344, allocations: 85.59 kB / 359.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.845e-05/0.1345, allocations: 51.41 kB / 359.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.528e-05/0.1346, allocations: 105.8 kB / 360.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.1346, allocations: 25.7 kB / 360.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.686e-05/0.1347, allocations: 88.14 kB / 360.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.1347, allocations: 3.984 kB / 360.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.1347, allocations: 17.72 kB / 360.2 MB, free: 10.76 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.1349, allocations: 310.8 kB / 360.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.482e-05/0.1349, allocations: 8 kB / 360.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.884e-05/0.1349, allocations: 39.3 kB / 360.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.484e-05/0.135, allocations: 35.38 kB / 360.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.135, allocations: 4 kB / 360.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.972e-05/0.1351, allocations: 65.53 kB / 360.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.1352, allocations: 7.938 kB / 360.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.1352, allocations: 4 kB / 360.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.1352, allocations: 0 / 360.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.892e-05/0.1353, allocations: 8 kB / 360.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1353, allocations: 0 / 360.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.447e-05/0.1353, allocations: 7.938 kB / 360.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.1353, allocations: 0 / 360.7 MB, free: 10.24 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: 2 ($CLKPRE.step.counter,step.counter) * 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.0001203/0.1354, allocations: 129.8 kB / 360.8 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/0.1356, allocations: 65.52 kB / 360.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.407e-05/0.1356, allocations: 11.91 kB / 360.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1357, allocations: 0 / 360.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1357, allocations: 0 / 360.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1357, allocations: 384 / 360.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.1358, allocations: 157.7 kB / 361 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1358, allocations: 4 kB / 361 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.846e-05/0.1359, allocations: 8 kB / 361 MB, free: 9.797 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.1359, allocations: 7.938 kB / 361 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/0.1359, allocations: 0 / 361 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.1359, allocations: 4 kB / 361 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.1359, allocations: 3.984 kB / 361 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.1361, allocations: 93.27 kB / 361.1 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.317e-05/0.1362, allocations: 81.05 kB / 361.2 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.1362, allocations: 7.938 kB / 361.2 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.194e-05/0.1362, allocations: 7.984 kB / 361.2 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-06/0.1362, allocations: 4 kB / 361.2 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.1362, allocations: 0 / 361.2 MB, free: 9.555 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.034e-05/0.1363, allocations: 83.28 kB / 361.3 MB, free: 9.473 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1363, allocations: 0 / 361.3 MB, free: 9.473 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001898/0.1365, allocations: 8 kB / 361.3 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: 1 (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.000593/0.1371, allocations: 0.6514 MB / 362 MB, free: 8.785 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001408/0.1373, allocations: 27.98 kB / 362 MB, free: 8.758 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.1373, allocations: 4 kB / 362 MB, free: 8.754 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.31e-07/0.1373, allocations: 3.938 kB / 362 MB, free: 8.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.1377, allocations: 31.98 kB / 362 MB, free: 8.719 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.1388, allocations: 1.185 MB / 363.2 MB, free: 7.438 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.1391, allocations: 0.6846 MB / 363.9 MB, free: 6.727 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.416e-05/0.1391, allocations: 0 / 363.9 MB, free: 6.727 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.517e-05/0.1392, allocations: 11.44 kB / 363.9 MB, free: 6.715 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1392, allocations: 0 / 363.9 MB, free: 6.715 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03347/0.1726, allocations: 1.275 MB / 365.2 MB, free: 5.578 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002362/0.1729, allocations: 221.1 kB / 365.4 MB, free: 5.32 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.071/2.244, allocations: 4 kB / 365.4 MB, free: 5.316 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches