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.001755/0.001755, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.002055/0.002055, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.377/1.377, allocations: 230.2 MB / 254.5 MB, free: 15.1 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.001762/0.001762, allocations: 71.88 kB / 373.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1071, allocations: 53.32 MB / 426.7 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002608/0.1097, allocations: 1.486 MB / 428.2 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000273/0.11, allocations: 91.75 kB / 428.2 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.228e-05/0.1101, allocations: 3.938 kB / 428.3 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.935e-05/0.1101, allocations: 7.922 kB / 428.3 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.198e-05/0.1102, allocations: 7.938 kB / 428.3 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.1104, allocations: 26.03 kB / 428.3 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.223e-05/0.1105, allocations: 23.94 kB / 428.3 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.894e-05/0.1106, allocations: 7.984 kB / 428.3 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.889e-05/0.1106, allocations: 11.92 kB / 428.3 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.119e-05/0.1107, allocations: 15.92 kB / 428.4 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.1107, allocations: 4 kB / 428.4 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.726e-06/0.1107, allocations: 0 / 428.4 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.182e-05/0.1107, allocations: 4 kB / 428.4 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.052e-05/0.1108, allocations: 15.88 kB / 428.4 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.1109, allocations: 27.84 kB / 428.4 MB, free: 3.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.1109, allocations: 4 kB / 428.4 MB, free: 3.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1109, allocations: 0 / 428.4 MB, free: 3.238 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.78e-06/0.1109, allocations: 0 / 428.4 MB, free: 3.238 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.0005505/0.1114, allocations: 347.4 kB / 428.7 MB, free: 2.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.1115, allocations: 8.031 kB / 428.8 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.802e-05/0.1115, allocations: 34.75 kB / 428.8 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.73e-05/0.1116, allocations: 8.891 kB / 428.8 MB, free: 2.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.1118, allocations: 168.4 kB / 429 MB, free: 2.586 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.1119, allocations: 12.31 kB / 429 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.1119, allocations: 4.375 kB / 429 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003383/0.1122, allocations: 103.9 kB / 429.1 MB, free: 2.457 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1122, allocations: 3.938 kB / 429.1 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.1122, allocations: 0 / 429.1 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.1122, allocations: 0 / 429.1 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.146e-05/0.1123, allocations: 23.98 kB / 429.1 MB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001961/0.1125, allocations: 157.6 kB / 429.3 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.1127, allocations: 50.55 kB / 429.3 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.679e-05/0.1127, allocations: 28.86 kB / 429.3 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.1128, allocations: 0 / 429.3 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.1128, allocations: 38.5 kB / 429.4 MB, free: 2.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 3.065e-06/0.1128, allocations: 3.984 kB / 429.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002385/0.113, allocations: 69.61 kB / 429.4 MB, free: 2.012 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/0.1131, allocations: 59.41 kB / 429.5 MB, free: 1.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.1132, allocations: 105.8 kB / 429.6 MB, free: 1.828 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.1132, allocations: 25.7 kB / 429.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.378e-05/0.1133, allocations: 80.14 kB / 429.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.785e-06/0.1133, allocations: 4 kB / 429.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.1133, allocations: 21.7 kB / 429.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.1135, allocations: 310.8 kB / 430 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.598e-05/0.1135, allocations: 15.88 kB / 430.1 MB, free: 1.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.298e-05/0.1135, allocations: 27.42 kB / 430.1 MB, free: 1.316 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.376e-05/0.1136, allocations: 39.38 kB / 430.1 MB, free: 1.266 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.1136, allocations: 4 kB / 430.1 MB, free: 1.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.137e-05/0.1137, allocations: 53.62 kB / 430.2 MB, free: 1.203 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1137, allocations: 7.938 kB / 430.2 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1137, allocations: 0 / 430.2 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.1137, allocations: 4.125 kB / 430.2 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.509e-05/0.1138, allocations: 8.25 kB / 430.2 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1138, allocations: 0 / 430.2 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.396e-05/0.1138, allocations: 11.95 kB / 430.2 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.1138, allocations: 0 / 430.2 MB, free: 1.172 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.272e-05/0.1139, allocations: 117.8 kB / 430.3 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.114, allocations: 61.61 kB / 430.4 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.506e-05/0.114, allocations: 7.906 kB / 430.4 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.114, allocations: 0 / 430.4 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.114, allocations: 4 kB / 430.4 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.114, allocations: 0 / 430.4 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.1142, allocations: 161.6 kB / 430.6 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1142, allocations: 0 / 430.6 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/0.1142, allocations: 8 kB / 430.6 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.1142, allocations: 3.938 kB / 430.6 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.1142, allocations: 0 / 430.6 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1142, allocations: 0 / 430.6 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1142, allocations: 0 / 430.6 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.1144, allocations: 93 kB / 430.7 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.857e-05/0.1144, allocations: 85.05 kB / 430.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.1144, allocations: 3.938 kB / 430.7 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.48e-05/0.1145, allocations: 7.984 kB / 430.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-06/0.1145, allocations: 0 / 430.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.1145, allocations: 4 kB / 430.8 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.002e-05/0.1145, allocations: 79.28 kB / 430.8 MB, free: 444 kB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1145, allocations: 0 / 430.8 MB, free: 444 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.000178/0.1147, allocations: 12 kB / 430.8 MB, free: 432 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.0004892/0.1152, allocations: 0.6201 MB / 431.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001219/0.1153, allocations: 24.41 kB / 431.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1153, allocations: 4.25 kB / 431.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.1153, allocations: 4 kB / 431.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.1155, allocations: 26.45 kB / 431.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.1166, allocations: 1.154 MB / 432.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.1169, allocations: 0.6807 MB / 433.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.403e-05/0.1169, allocations: 7.938 kB / 433.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.323e-05/0.1169, allocations: 11.44 kB / 433.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1169, allocations: 0 / 433.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/0.1394, allocations: 1.246 MB / 434.6 MB, free: 12.6 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.432/7.572, allocations: 19.84 kB / 434.6 MB, free: 12.58 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 & /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 --stepSize=0.000199561 --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) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.080244177952409]