Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00128/0.00128, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001575/0.001576, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 71.39 kB / 306.4 MB, free: 0.8398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1178, allocations: 50.53 MB / 356.9 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.003921/0.1218, allocations: 1.535 MB / 358.4 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000363/0.1222, allocations: 95.69 kB / 358.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.116e-05/0.1224, allocations: 0 / 358.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.764e-05/0.1225, allocations: 7.922 kB / 358.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.232e-05/0.1225, allocations: 11.92 kB / 358.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000342/0.1229, allocations: 15.62 kB / 358.5 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.123, allocations: 23.92 kB / 358.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.1231, allocations: 11.98 kB / 358.6 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.176e-05/0.1232, allocations: 11.92 kB / 358.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.046e-05/0.1233, allocations: 11.94 kB / 358.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.1233, allocations: 0 / 358.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.752e-05/0.1234, allocations: 8 kB / 358.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.632e-05/0.1234, allocations: 0 / 358.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.033e-05/0.1235, allocations: 15.92 kB / 358.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.1236, allocations: 27.84 kB / 358.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.075e-05/0.1236, allocations: 4 kB / 358.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1236, allocations: 0 / 358.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.1236, allocations: 0 / 358.7 MB, free: 12.52 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.0006259/0.1243, allocations: 346 kB / 359 MB, free: 12.13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.921e-05/0.1243, allocations: 8.031 kB / 359 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001232/0.1245, allocations: 38.73 kB / 359 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.04e-05/0.1245, allocations: 12.84 kB / 359.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.1248, allocations: 180.2 kB / 359.2 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.1248, allocations: 4.375 kB / 359.2 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.1249, allocations: 384 / 359.2 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003778/0.1252, allocations: 107.9 kB / 359.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1253, allocations: 3.938 kB / 359.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1253, allocations: 0 / 359.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1253, allocations: 0 / 359.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.514e-05/0.1254, allocations: 19.98 kB / 359.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001792/0.1256, allocations: 157.7 kB / 359.5 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.1257, allocations: 54.48 kB / 359.6 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.189e-05/0.1258, allocations: 28.92 kB / 359.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.1259, allocations: 0 / 359.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.1259, allocations: 34.56 kB / 359.6 MB, free: 11.37 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1259, allocations: 0 / 359.6 MB, free: 11.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002551/0.1262, allocations: 73.59 kB / 359.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.1262, allocations: 55.34 kB / 359.8 MB, free: 11.22 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.497e-05/0.1263, allocations: 105.9 kB / 359.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.1264, allocations: 29.7 kB / 359.9 MB, free: 11.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.036e-05/0.1264, allocations: 88.12 kB / 360 MB, free: 10.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.865e-06/0.1264, allocations: 3.938 kB / 360 MB, free: 10.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.1265, allocations: 17.72 kB / 360 MB, free: 10.96 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1266, allocations: 310.8 kB / 360.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.636e-05/0.1266, allocations: 4 kB / 360.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.559e-05/0.1267, allocations: 31.42 kB / 360.3 MB, free: 10.6 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.381e-05/0.1267, allocations: 35.38 kB / 360.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1267, allocations: 0 / 360.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.871e-05/0.1268, allocations: 61.59 kB / 360.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.1269, allocations: 7.938 kB / 360.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1269, allocations: 7.938 kB / 360.4 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.1269, allocations: 0 / 360.4 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.286e-05/0.127, allocations: 11.94 kB / 360.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.127, allocations: 0 / 360.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.483e-05/0.127, allocations: 3.938 kB / 360.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.127, allocations: 4 kB / 360.5 MB, free: 10.45 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: 0 () * 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.0001033/0.1271, allocations: 117.8 kB / 360.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.1273, allocations: 61.69 kB / 360.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.909e-05/0.1273, allocations: 7.906 kB / 360.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1273, allocations: 0 / 360.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.1273, allocations: 0 / 360.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1273, allocations: 4 kB / 360.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.1275, allocations: 157.7 kB / 360.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1275, allocations: 0 / 360.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.926e-05/0.1275, allocations: 8.188 kB / 360.8 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.1275, allocations: 3.938 kB / 360.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.1275, allocations: 8 kB / 360.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1275, allocations: 4 kB / 360.8 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1276, allocations: 3.984 kB / 360.8 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.1277, allocations: 81.36 kB / 360.9 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.912e-05/0.1277, allocations: 81.09 kB / 361 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.1278, allocations: 3.938 kB / 361 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.5e-05/0.1278, allocations: 4.047 kB / 361 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-06/0.1278, allocations: 3.984 kB / 361 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.1278, allocations: 8 kB / 361 MB, free: 9.793 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.719e-05/0.1279, allocations: 79.28 kB / 361.1 MB, free: 9.715 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.1279, allocations: 0 / 361.1 MB, free: 9.715 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001898/0.1281, allocations: 4 kB / 361.1 MB, free: 9.711 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: 0 () * 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.0004921/0.1286, allocations: 0.6318 MB / 361.7 MB, free: 9.051 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001171/0.1287, allocations: 27.92 kB / 361.8 MB, free: 9.023 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1287, allocations: 0 / 361.8 MB, free: 9.023 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.1287, allocations: 3.938 kB / 361.8 MB, free: 9.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.129, allocations: 16 kB / 361.8 MB, free: 9.004 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.1304, allocations: 1.164 MB / 362.9 MB, free: 7.738 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.1308, allocations: 0.677 MB / 363.6 MB, free: 7.035 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.964e-05/0.1308, allocations: 4.25 kB / 363.6 MB, free: 7.031 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.914e-05/0.1309, allocations: 11.44 kB / 363.6 MB, free: 7.02 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1309, allocations: 4 kB / 363.6 MB, free: 7.016 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01138/0.1423, allocations: 1.096 MB / 364.7 MB, free: 6.035 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/0.1425, allocations: 210.8 kB / 364.9 MB, free: 5.781 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.258/2.4, allocations: 2.953 kB / 364.9 MB, free: 5.781 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches