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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001709/0.001709, allocations: 123.4 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001912/0.001912, allocations: 215.5 kB / 20.75 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 230.4 MB / 254 MB, free: 15.05 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 59.91 kB / 373 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1094, allocations: 53.38 MB / 426.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002926/0.1123, allocations: 1.477 MB / 427.8 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002888/0.1126, allocations: 95.73 kB / 427.9 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.772e-05/0.1126, allocations: 3.938 kB / 427.9 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.817e-05/0.1127, allocations: 4 kB / 427.9 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.416e-05/0.1127, allocations: 3.938 kB / 428 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.113, allocations: 31.91 kB / 428 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.763e-05/0.113, allocations: 19.92 kB / 428 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.518e-05/0.1131, allocations: 11.98 kB / 428 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.265e-05/0.1132, allocations: 11.94 kB / 428 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.25e-05/0.1132, allocations: 11.92 kB / 428 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.1132, allocations: 4 kB / 428 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.954e-06/0.1132, allocations: 0 / 428 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.151e-05/0.1133, allocations: 11.94 kB / 428.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.1133, allocations: 15.88 kB / 428.1 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.352e-05/0.1134, allocations: 31.83 kB / 428.1 MB, free: 2.891 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1134, allocations: 3.984 kB / 428.1 MB, free: 2.887 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1134, allocations: 0 / 428.1 MB, free: 2.887 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.1134, allocations: 0 / 428.1 MB, free: 2.887 MB / 350.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.0004786/0.1139, allocations: 343.4 kB / 428.4 MB, free: 2.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1139, allocations: 8.031 kB / 428.4 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.711e-05/0.114, allocations: 30.75 kB / 428.5 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.768e-05/0.114, allocations: 8.891 kB / 428.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.1142, allocations: 184.3 kB / 428.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.1142, allocations: 4.375 kB / 428.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.1142, allocations: 384 / 428.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003072/0.1145, allocations: 103.9 kB / 428.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.1146, allocations: 3.938 kB / 428.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.1146, allocations: 4 kB / 428.8 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1146, allocations: 0 / 428.8 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.97e-05/0.1147, allocations: 19.98 kB / 428.8 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000161/0.1148, allocations: 161.6 kB / 429 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.115, allocations: 50.5 kB / 429 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.94e-05/0.1151, allocations: 28.92 kB / 429 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.1151, allocations: 0 / 429 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.1151, allocations: 34.5 kB / 429.1 MB, free: 1.742 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.1151, allocations: 0 / 429.1 MB, free: 1.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002299/0.1153, allocations: 69.61 kB / 429.1 MB, free: 1.668 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.556e-05/0.1154, allocations: 63.33 kB / 429.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.631e-05/0.1155, allocations: 101.9 kB / 429.3 MB, free: 1.484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.1155, allocations: 29.7 kB / 429.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.936e-05/0.1156, allocations: 88.12 kB / 429.4 MB, free: 1.359 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.453e-06/0.1156, allocations: 0 / 429.4 MB, free: 1.359 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.1156, allocations: 17.72 kB / 429.4 MB, free: 1.336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1158, allocations: 310.8 kB / 429.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.376e-05/0.1158, allocations: 4 kB / 429.7 MB, free: 1.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.395e-05/0.1158, allocations: 31.61 kB / 429.8 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.011e-05/0.1159, allocations: 39.38 kB / 429.8 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1159, allocations: 4 kB / 429.8 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.879e-05/0.1159, allocations: 53.72 kB / 429.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.116, allocations: 9.625 kB / 429.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.116, allocations: 7.984 kB / 429.9 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.116, allocations: 4 kB / 429.9 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.281e-05/0.116, allocations: 7.938 kB / 429.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.116, allocations: 0 / 429.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.183e-05/0.1161, allocations: 11.89 kB / 429.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.1161, allocations: 3.984 kB / 429.9 MB, free: 0.8203 MB / 350.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 9.115e-05/0.1162, allocations: 117.8 kB / 430 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.1163, allocations: 53.62 kB / 430.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.988e-05/0.1163, allocations: 15.91 kB / 430.1 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1163, allocations: 0 / 430.1 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1163, allocations: 256 / 430.1 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.1163, allocations: 0 / 430.1 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.1165, allocations: 165.6 kB / 430.3 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1165, allocations: 0 / 430.3 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.175e-05/0.1165, allocations: 11.94 kB / 430.3 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.1165, allocations: 3.938 kB / 430.3 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.014e-06/0.1165, allocations: 0 / 430.3 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1165, allocations: 0 / 430.3 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1165, allocations: 0 / 430.3 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.1167, allocations: 89.06 kB / 430.4 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.064e-05/0.1167, allocations: 85.05 kB / 430.4 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.1168, allocations: 7.922 kB / 430.4 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.23e-05/0.1168, allocations: 0 / 430.4 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-06/0.1168, allocations: 0 / 430.4 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.1168, allocations: 4 kB / 430.4 MB, free: 168 kB / 350.1 MB Notification: Performance of sorting global known variables: time 5.397e-05/0.1168, allocations: 87.28 kB / 430.5 MB, free: 80 kB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1168, allocations: 0 / 430.5 MB, free: 80 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001794/0.117, allocations: 4 kB / 430.5 MB, free: 76 kB / 350.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.0005772/0.1176, allocations: 0.624 MB / 431.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001288/0.1177, allocations: 31.92 kB / 431.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1177, allocations: 4 kB / 431.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.32e-07/0.1177, allocations: 0 / 431.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.118, allocations: 20.03 kB / 431.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.1192, allocations: 1.154 MB / 432.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.1195, allocations: 0.6768 MB / 433 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.906e-05/0.1195, allocations: 4 kB / 433.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.855e-05/0.1196, allocations: 11.44 kB / 433.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1196, allocations: 0 / 433.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.143, allocations: 1.258 MB / 434.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.606/7.749, allocations: 12.05 kB / 434.3 MB, free: 12.23 MB / 366.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199561 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.52907231298741]