Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001697/0.001697, allocations: 104.8 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00203/0.00203, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 59.89 kB / 306.4 MB, free: 0.9492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1061, allocations: 50.52 MB / 356.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003143/0.1092, allocations: 1.65 MB / 358.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.1103, allocations: 0.5298 MB / 359.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.994e-05/0.1104, allocations: 4 kB / 359.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.998e-05/0.1105, allocations: 3.938 kB / 359.1 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.1106, allocations: 7.938 kB / 359.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003207/0.1109, allocations: 47.89 kB / 359.1 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.403e-05/0.111, allocations: 43.84 kB / 359.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1111, allocations: 19.97 kB / 359.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.1113, allocations: 23.92 kB / 359.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.139e-05/0.1113, allocations: 19.86 kB / 359.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.1114, allocations: 4 kB / 359.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.218e-05/0.1114, allocations: 15.98 kB / 359.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.249e-05/0.1115, allocations: 11.92 kB / 359.3 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.111e-05/0.1115, allocations: 23.81 kB / 359.3 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.1117, allocations: 59.8 kB / 359.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1117, allocations: 0 / 359.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.1117, allocations: 0 / 359.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.1117, allocations: 0 / 359.3 MB, free: 11.95 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005028/0.1122, allocations: 385.5 kB / 359.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.1123, allocations: 8.031 kB / 359.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.687e-05/0.1123, allocations: 38.73 kB / 359.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001528/0.1125, allocations: 16.84 kB / 359.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.1127, allocations: 192.2 kB / 360 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.1127, allocations: 4.375 kB / 360 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.749e-06/0.1127, allocations: 384 / 360 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002882/0.113, allocations: 117.2 kB / 360.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.113, allocations: 3.938 kB / 360.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.113, allocations: 8 kB / 360.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.113, allocations: 0 / 360.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.19e-05/0.1131, allocations: 19.97 kB / 360.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002841/0.1134, allocations: 269.7 kB / 360.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.1136, allocations: 138.2 kB / 360.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.026e-05/0.1137, allocations: 37.69 kB / 360.6 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.1137, allocations: 7.984 kB / 360.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.1138, allocations: 34.56 kB / 360.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1138, allocations: 3.938 kB / 360.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002722/0.1141, allocations: 77.58 kB / 360.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.1141, allocations: 89.03 kB / 360.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.1142, allocations: 140.7 kB / 360.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.1143, allocations: 25.7 kB / 360.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.311e-05/0.1143, allocations: 84.14 kB / 361 MB, free: 10.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.1143, allocations: 11.89 kB / 361 MB, free: 10.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.1144, allocations: 17.72 kB / 361 MB, free: 9.992 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.99e-05/0.1145, allocations: 318.9 kB / 361.3 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.664e-05/0.1145, allocations: 15.98 kB / 361.4 MB, free: 9.656 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.895e-05/0.1146, allocations: 35.42 kB / 361.4 MB, free: 9.609 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.094e-05/0.1147, allocations: 55.3 kB / 361.5 MB, free: 9.543 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1147, allocations: 0 / 361.5 MB, free: 9.543 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001389/0.1148, allocations: 61.62 kB / 361.5 MB, free: 9.477 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.1149, allocations: 4 kB / 361.5 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.1149, allocations: 4 kB / 361.5 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.1149, allocations: 3.984 kB / 361.5 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.674e-05/0.115, allocations: 12.06 kB / 361.5 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.115, allocations: 4 kB / 361.5 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.268e-05/0.115, allocations: 7.906 kB / 361.5 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.1151, allocations: 4 kB / 361.6 MB, free: 9.438 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 8.931e-05/0.1151, allocations: 130.8 kB / 361.7 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.63e-05/0.1152, allocations: 49.59 kB / 361.7 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.256e-05/0.1153, allocations: 4.25 kB / 361.7 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1153, allocations: 4 kB / 361.7 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1153, allocations: 0 / 361.7 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1153, allocations: 4 kB / 361.7 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.1155, allocations: 169.6 kB / 361.9 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1155, allocations: 4 kB / 361.9 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.748e-05/0.1155, allocations: 11.92 kB / 361.9 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1155, allocations: 4 kB / 361.9 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.1156, allocations: 4 kB / 361.9 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1156, allocations: 0 / 361.9 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1156, allocations: 0 / 361.9 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.1157, allocations: 172.2 kB / 362.1 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.335e-05/0.1158, allocations: 93 kB / 362.2 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.1158, allocations: 4 kB / 362.2 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.7e-05/0.1159, allocations: 3.984 kB / 362.2 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.116, allocations: 4 kB / 362.2 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.116, allocations: 3.938 kB / 362.2 MB, free: 8.676 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.599e-05/0.116, allocations: 111.2 kB / 362.3 MB, free: 8.566 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1161, allocations: 0 / 362.3 MB, free: 8.566 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002282/0.1163, allocations: 12 kB / 362.3 MB, free: 8.555 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0004054/0.1167, allocations: 0.6941 MB / 363 MB, free: 7.832 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001369/0.1168, allocations: 31.98 kB / 363 MB, free: 7.801 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1169, allocations: 0 / 363 MB, free: 7.801 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.978e-05/0.1169, allocations: 15.98 kB / 363.1 MB, free: 7.785 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.1173, allocations: 31.92 kB / 363.1 MB, free: 7.754 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.1186, allocations: 1.371 MB / 364.5 MB, free: 6.281 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.1188, allocations: 0.7004 MB / 365.2 MB, free: 5.555 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.201e-05/0.1189, allocations: 3.906 kB / 365.2 MB, free: 5.551 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.272e-05/0.1189, allocations: 19.42 kB / 365.2 MB, free: 5.531 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1189, allocations: 0 / 365.2 MB, free: 5.531 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01571/0.1346, allocations: 1.403 MB / 366.6 MB, free: 4.227 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/0.1349, allocations: 211.2 kB / 366.8 MB, free: 3.965 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.774/1.909, allocations: 0 / 366.8 MB, free: 3.965 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches