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.001098/0.001097, allocations: 102.1 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001765/0.001765, allocations: 192.9 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.524/1.524, allocations: 227.7 MB / 246.4 MB, free: 11.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002525/0.0002525, allocations: 8 kB / 307.1 MB, free: 1.215 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1103, allocations: 51.53 MB / 358.6 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.002388/0.1127, allocations: 1.804 MB / 360.4 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009655/0.1137, allocations: 0.5887 MB / 361 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.258e-05/0.1138, allocations: 0 / 361 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.997e-05/0.1139, allocations: 15.86 kB / 361 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.349e-05/0.114, allocations: 39.69 kB / 361.1 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002181/0.1142, allocations: 35.95 kB / 361.1 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.1144, allocations: 147.3 kB / 361.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.1146, allocations: 45.38 kB / 361.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.1147, allocations: 63.78 kB / 361.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.1148, allocations: 55.77 kB / 361.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.1149, allocations: 4 kB / 361.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.361e-05/0.115, allocations: 19.98 kB / 361.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.636e-05/0.1151, allocations: 23.86 kB / 361.5 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.407e-05/0.1151, allocations: 49.64 kB / 361.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.1153, allocations: 123.9 kB / 361.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.1153, allocations: 0 / 361.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1153, allocations: 0 / 361.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.1153, allocations: 0 / 361.6 MB, free: 10.65 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.0005524/0.1159, allocations: 435 kB / 362.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.1159, allocations: 8.031 kB / 362.1 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.1161, allocations: 23.89 kB / 362.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.1163, allocations: 202.8 kB / 362.3 MB, free: 9.906 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.1164, allocations: 12.23 kB / 362.3 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.1164, allocations: 8 kB / 362.3 MB, free: 9.887 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.1167, allocations: 119.5 kB / 362.4 MB, free: 9.766 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.1167, allocations: 4 kB / 362.4 MB, free: 9.762 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.1167, allocations: 8 kB / 362.4 MB, free: 9.754 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1167, allocations: 0 / 362.4 MB, free: 9.754 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001933/0.1169, allocations: 80.67 kB / 362.5 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008782/0.1178, allocations: 0.6095 MB / 363.1 MB, free: 8.984 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/0.1181, allocations: 90.56 kB / 363.2 MB, free: 8.887 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.071e-05/0.1182, allocations: 40.91 kB / 363.3 MB, free: 8.844 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.1182, allocations: 0 / 363.3 MB, free: 8.844 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.1182, allocations: 38.56 kB / 363.3 MB, free: 8.797 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 8.71e-07/0.1182, allocations: 0 / 363.3 MB, free: 8.797 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006903/0.1189, allocations: 259.4 kB / 363.5 MB, free: 8.516 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.119, allocations: 55.39 kB / 363.6 MB, free: 8.449 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.1192, allocations: 154.2 kB / 363.7 MB, free: 8.289 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.1192, allocations: 33.64 kB / 363.8 MB, free: 8.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.05e-05/0.1193, allocations: 128 kB / 363.9 MB, free: 8.121 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.1193, allocations: 19.66 kB / 363.9 MB, free: 8.102 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-06/0.1194, allocations: 4 kB / 363.9 MB, free: 8.098 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002417/0.1196, allocations: 322.8 kB / 364.2 MB, free: 7.773 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.329e-05/0.1197, allocations: 19.98 kB / 364.3 MB, free: 7.754 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.721e-05/0.1198, allocations: 46.56 kB / 364.3 MB, free: 7.699 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.46e-05/0.1198, allocations: 28 kB / 364.3 MB, free: 7.672 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1198, allocations: 0 / 364.3 MB, free: 7.672 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000293/0.1201, allocations: 138.6 kB / 364.5 MB, free: 7.527 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.1202, allocations: 11.95 kB / 364.5 MB, free: 7.516 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1202, allocations: 4 kB / 364.5 MB, free: 7.512 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001871/0.1204, allocations: 32.84 kB / 364.5 MB, free: 7.477 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.646e-05/0.1204, allocations: 11.98 kB / 364.5 MB, free: 7.465 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/0.1219, allocations: 1.513 MB / 366 MB, free: 5.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.344e-05/0.122, allocations: 15.91 kB / 366.1 MB, free: 5.805 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.1221, allocations: 7.984 kB / 366.1 MB, free: 5.797 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.1222, allocations: 125.8 kB / 366.2 MB, free: 5.664 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.1222, allocations: 7.906 kB / 366.2 MB, free: 5.656 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.688e-05/0.1222, allocations: 20.66 kB / 366.2 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.1222, allocations: 0 / 366.2 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.22e-07/0.1222, allocations: 0 / 366.2 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1223, allocations: 0 / 366.2 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.1225, allocations: 213.6 kB / 366.4 MB, free: 5.375 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1225, allocations: 4 kB / 366.4 MB, free: 5.371 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.916e-05/0.1225, allocations: 8.109 kB / 366.4 MB, free: 5.363 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001157/0.1227, allocations: 36.89 kB / 366.5 MB, free: 5.324 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.1227, allocations: 3.984 kB / 366.5 MB, free: 5.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001341/0.124, allocations: 1.502 MB / 368 MB, free: 3.688 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1241, allocations: 8.156 kB / 368 MB, free: 3.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003296/0.1244, allocations: 220.2 kB / 368.2 MB, free: 3.445 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.177e-05/0.1245, allocations: 88.94 kB / 368.3 MB, free: 3.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.1245, allocations: 7.953 kB / 368.3 MB, free: 3.332 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.1246, allocations: 8 kB / 368.3 MB, free: 3.324 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.1247, allocations: 7.984 kB / 368.3 MB, free: 3.316 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.1247, allocations: 0 / 368.3 MB, free: 3.316 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.491e-05/0.1248, allocations: 122.8 kB / 368.4 MB, free: 3.199 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1248, allocations: 0 / 368.4 MB, free: 3.199 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003533/0.1251, allocations: 35.94 kB / 368.5 MB, free: 3.164 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001353/0.1253, allocations: 95.25 kB / 368.6 MB, free: 3.062 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000405/0.1257, allocations: 194.8 kB / 368.8 MB, free: 2.859 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1257, allocations: 0 / 368.8 MB, free: 2.859 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002093/0.1259, allocations: 162.7 kB / 368.9 MB, free: 2.688 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.1262, allocations: 12 kB / 368.9 MB, free: 2.676 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005755/0.1268, allocations: 354.5 kB / 369.3 MB, free: 2.305 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.1271, allocations: 0.7118 MB / 370 MB, free: 1.566 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.453e-05/0.1271, allocations: 8.422 kB / 370 MB, free: 1.559 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.563e-05/0.1272, allocations: 7.438 kB / 370 MB, free: 1.551 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1272, allocations: 0 / 370 MB, free: 1.551 MB / 302.1 MB Notification: Performance of Templates: time 0.004294/0.1315, allocations: 1.314 MB / 371.3 MB, free: 256 kB / 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/Resistor/Resistor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches