Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.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: translateModel(Modelica.Electrical.Analog.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|resistor.i|resistor.LossPower",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor") translateModel(Modelica.Electrical.Analog.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|resistor.i|resistor.LossPower",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001308/0.001308, allocations: 109.5 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001475/0.001475, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 246.9 MB, free: 8.965 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 65.97 kB / 306.9 MB, free: 0.7656 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09406/0.09549, allocations: 50.53 MB / 357.4 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.003721/0.09924, allocations: 2.194 MB / 359.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.1005, allocations: 0.6195 MB / 360.2 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.1007, allocations: 15.88 kB / 360.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001766/0.101, allocations: 15.91 kB / 360.3 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.1012, allocations: 35.7 kB / 360.3 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.1014, allocations: 47.89 kB / 360.4 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.1017, allocations: 151.3 kB / 360.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.1019, allocations: 49.45 kB / 360.6 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.1021, allocations: 67.7 kB / 360.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.1022, allocations: 59.7 kB / 360.7 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.1022, allocations: 8 kB / 360.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.019e-05/0.1023, allocations: 23.98 kB / 360.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.859e-05/0.1024, allocations: 19.92 kB / 360.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.891e-05/0.1025, allocations: 63.67 kB / 360.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.1026, allocations: 135.9 kB / 360.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1027, allocations: 0 / 360.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.1027, allocations: 0 / 360.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1027, allocations: 7.938 kB / 360.9 MB, free: 10.7 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006651/0.1034, allocations: 439.2 kB / 361.4 MB, free: 10.22 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.1034, allocations: 12.03 kB / 361.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002021/0.1036, allocations: 28.73 kB / 361.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.1039, allocations: 204.1 kB / 361.6 MB, free: 9.945 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.1039, allocations: 12.55 kB / 361.6 MB, free: 9.934 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.1039, allocations: 12.38 kB / 361.6 MB, free: 9.922 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.1042, allocations: 123.8 kB / 361.7 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1042, allocations: 0 / 361.7 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.1042, allocations: 4 kB / 361.8 MB, free: 9.793 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1042, allocations: 4 kB / 361.8 MB, free: 9.789 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.1044, allocations: 80.66 kB / 361.8 MB, free: 9.711 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008738/0.1053, allocations: 0.5979 MB / 362.4 MB, free: 9.031 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003033/0.1056, allocations: 86.56 kB / 362.5 MB, free: 8.938 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.705e-05/0.1057, allocations: 28.97 kB / 362.5 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.1057, allocations: 8 kB / 362.6 MB, free: 8.898 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.1058, allocations: 30.56 kB / 362.6 MB, free: 8.859 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.1058, allocations: 0 / 362.6 MB, free: 8.859 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007254/0.1065, allocations: 259.3 kB / 362.8 MB, free: 8.578 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.1066, allocations: 63.34 kB / 362.9 MB, free: 8.504 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.1067, allocations: 145.2 kB / 363 MB, free: 8.355 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.1067, allocations: 29.7 kB / 363.1 MB, free: 8.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.1068, allocations: 127.9 kB / 363.2 MB, free: 8.191 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.1068, allocations: 15.75 kB / 363.2 MB, free: 8.176 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.032e-05/0.1069, allocations: 33.61 kB / 363.2 MB, free: 8.137 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.107, allocations: 322.8 kB / 363.6 MB, free: 7.812 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.793e-05/0.1071, allocations: 23.94 kB / 363.6 MB, free: 7.789 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.336e-05/0.1072, allocations: 38.56 kB / 363.6 MB, free: 7.742 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.1073, allocations: 74.55 kB / 363.7 MB, free: 7.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1073, allocations: 0 / 363.7 MB, free: 7.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003056/0.1076, allocations: 146.2 kB / 363.8 MB, free: 7.508 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.1077, allocations: 8 kB / 363.8 MB, free: 7.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1077, allocations: 0 / 363.8 MB, free: 7.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001961/0.1079, allocations: 36.83 kB / 363.9 MB, free: 7.461 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.702e-05/0.1079, allocations: 12.06 kB / 363.9 MB, free: 7.449 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001653/0.1096, allocations: 1.51 MB / 365.4 MB, free: 5.805 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.762e-05/0.1097, allocations: 15.92 kB / 365.4 MB, free: 5.789 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.1097, allocations: 0 / 365.4 MB, free: 5.789 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001138/0.1098, allocations: 125.8 kB / 365.5 MB, free: 5.656 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.1099, allocations: 15.75 kB / 365.6 MB, free: 5.641 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.157e-05/0.1099, allocations: 12.78 kB / 365.6 MB, free: 5.625 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1099, allocations: 7.938 kB / 365.6 MB, free: 5.617 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.1099, allocations: 0 / 365.6 MB, free: 5.617 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.11, allocations: 3.984 kB / 365.6 MB, free: 5.613 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.1102, allocations: 209.6 kB / 365.8 MB, free: 5.359 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1102, allocations: 0 / 365.8 MB, free: 5.359 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.595e-05/0.1102, allocations: 0 / 365.8 MB, free: 5.359 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001382/0.1104, allocations: 44.95 kB / 365.8 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.1104, allocations: 4 kB / 365.8 MB, free: 5.309 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/0.1116, allocations: 1.506 MB / 367.3 MB, free: 3.672 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1117, allocations: 64 / 367.3 MB, free: 3.672 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.112, allocations: 220.2 kB / 367.6 MB, free: 3.438 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.931e-05/0.112, allocations: 88.95 kB / 367.6 MB, free: 3.332 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.1121, allocations: 4 kB / 367.6 MB, free: 3.328 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.1122, allocations: 4 kB / 367.6 MB, free: 3.324 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.1122, allocations: 11.98 kB / 367.7 MB, free: 3.312 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.1122, allocations: 0 / 367.7 MB, free: 3.312 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.552e-05/0.1123, allocations: 118.1 kB / 367.8 MB, free: 3.199 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1123, allocations: 0 / 367.8 MB, free: 3.199 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003706/0.1127, allocations: 43.84 kB / 367.8 MB, free: 3.156 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001313/0.1128, allocations: 99.19 kB / 367.9 MB, free: 3.051 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004158/0.1133, allocations: 182.8 kB / 368.1 MB, free: 2.859 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1133, allocations: 0 / 368.1 MB, free: 2.859 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002146/0.1135, allocations: 166.5 kB / 368.3 MB, free: 2.684 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.1138, allocations: 18.91 kB / 368.3 MB, free: 2.668 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005927/0.1144, allocations: 356.8 kB / 368.6 MB, free: 2.289 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.1147, allocations: 0.7157 MB / 369.3 MB, free: 1.547 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.1147, allocations: 7.438 kB / 369.3 MB, free: 1.539 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1147, allocations: 0 / 369.3 MB, free: 1.539 MB / 302.1 MB Notification: Performance of Templates: time 0.1718/0.2865, allocations: 1.923 MB / 371.3 MB, free: 19.98 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/Resistor/Resistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches