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.001409/0.001408, allocations: 118.5 kB / 17.99 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001581/0.001581, allocations: 201.8 kB / 18.92 MB, free: 4.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.682/1.682, allocations: 227.4 MB / 247.1 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00225/0.002251, allocations: 64.62 kB / 307.1 MB, free: 0.9453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1392, allocations: 50.53 MB / 357.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.004046/0.1433, allocations: 2.212 MB / 359.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.1445, allocations: 0.6078 MB / 360.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.1446, allocations: 0 / 360.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001458/0.1448, allocations: 23.84 kB / 360.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.484e-05/0.1449, allocations: 35.7 kB / 360.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.1451, allocations: 51.94 kB / 360.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.1454, allocations: 159.2 kB / 360.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.1456, allocations: 61.44 kB / 360.8 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.1457, allocations: 63.78 kB / 360.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.1459, allocations: 67.7 kB / 360.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.1459, allocations: 12 kB / 360.9 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.575e-05/0.146, allocations: 20 kB / 360.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.421e-05/0.146, allocations: 35.78 kB / 361 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.154e-05/0.1461, allocations: 71.67 kB / 361 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.1463, allocations: 127.9 kB / 361.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1463, allocations: 4 kB / 361.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1463, allocations: 0 / 361.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.1464, allocations: 0 / 361.2 MB, free: 10.84 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.0006569/0.147, allocations: 439.1 kB / 361.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.1471, allocations: 12.03 kB / 361.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002071/0.1473, allocations: 24.73 kB / 361.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.1476, allocations: 215.2 kB / 361.8 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.1476, allocations: 8.609 kB / 361.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.1476, allocations: 12.31 kB / 361.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.1479, allocations: 119.8 kB / 362 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1479, allocations: 4 kB / 362 MB, free: 9.938 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.1479, allocations: 4 kB / 362 MB, free: 9.934 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1479, allocations: 7.984 kB / 362 MB, free: 9.926 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.1481, allocations: 80.61 kB / 362.1 MB, free: 9.848 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008829/0.149, allocations: 0.5979 MB / 362.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.1493, allocations: 86.62 kB / 362.8 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.982e-05/0.1494, allocations: 28.97 kB / 362.8 MB, free: 9.043 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.1494, allocations: 7.938 kB / 362.8 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.1494, allocations: 38.5 kB / 362.8 MB, free: 8.988 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.1494, allocations: 0 / 362.8 MB, free: 8.988 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006834/0.1501, allocations: 255.4 kB / 363.1 MB, free: 8.711 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.1502, allocations: 59.34 kB / 363.1 MB, free: 8.641 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.1503, allocations: 152.8 kB / 363.3 MB, free: 8.484 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.1504, allocations: 25.7 kB / 363.3 MB, free: 8.453 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.824e-05/0.1505, allocations: 127.9 kB / 363.4 MB, free: 8.324 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.1505, allocations: 23.72 kB / 363.5 MB, free: 8.301 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.382e-05/0.1505, allocations: 25.62 kB / 363.5 MB, free: 8.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1506, allocations: 322.8 kB / 363.8 MB, free: 7.945 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.475e-05/0.1507, allocations: 27.98 kB / 363.8 MB, free: 7.918 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.11e-05/0.1508, allocations: 38.56 kB / 363.9 MB, free: 7.871 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.1509, allocations: 66.5 kB / 363.9 MB, free: 7.797 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.151, allocations: 0 / 363.9 MB, free: 7.797 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002731/0.1512, allocations: 134.3 kB / 364.1 MB, free: 7.656 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.1513, allocations: 15.92 kB / 364.1 MB, free: 7.641 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1513, allocations: 0 / 364.1 MB, free: 7.641 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002018/0.1515, allocations: 32.84 kB / 364.1 MB, free: 7.605 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.911e-05/0.1516, allocations: 11.98 kB / 364.1 MB, free: 7.594 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001846/0.1534, allocations: 1.693 MB / 365.8 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.939e-05/0.1535, allocations: 11.91 kB / 365.8 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.1535, allocations: 11.92 kB / 365.8 MB, free: 5.742 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.0001087/0.1536, allocations: 129.8 kB / 366 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.306e-05/0.1537, allocations: 7.906 kB / 366 MB, free: 5.598 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.756e-05/0.1537, allocations: 12.72 kB / 366 MB, free: 5.582 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1537, allocations: 0 / 366 MB, free: 5.582 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-06/0.1537, allocations: 0 / 366 MB, free: 5.582 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.1537, allocations: 0 / 366 MB, free: 5.582 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.154, allocations: 217.5 kB / 366.2 MB, free: 5.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.154, allocations: 0 / 366.2 MB, free: 5.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.209e-05/0.154, allocations: 15.92 kB / 366.2 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001316/0.1542, allocations: 32.84 kB / 366.2 MB, free: 5.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.1542, allocations: 7.984 kB / 366.3 MB, free: 5.262 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001334/0.1555, allocations: 1.678 MB / 367.9 MB, free: 3.449 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1556, allocations: 0 / 367.9 MB, free: 3.449 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/0.1559, allocations: 224.2 kB / 368.2 MB, free: 3.211 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.97e-05/0.1559, allocations: 85.02 kB / 368.2 MB, free: 3.109 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.1559, allocations: 0 / 368.2 MB, free: 3.109 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.1561, allocations: 7.984 kB / 368.2 MB, free: 3.102 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.1561, allocations: 8 kB / 368.3 MB, free: 3.094 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.1561, allocations: 0 / 368.3 MB, free: 3.094 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.903e-05/0.1562, allocations: 122 kB / 368.4 MB, free: 2.977 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1562, allocations: 0 / 368.4 MB, free: 2.977 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003733/0.1566, allocations: 43.84 kB / 368.4 MB, free: 2.934 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.0001397/0.1567, allocations: 95.25 kB / 368.5 MB, free: 2.832 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004214/0.1572, allocations: 194.5 kB / 368.7 MB, free: 2.629 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1572, allocations: 4.125 kB / 368.7 MB, free: 2.625 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.1574, allocations: 150.7 kB / 368.8 MB, free: 2.465 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.1577, allocations: 11.98 kB / 368.9 MB, free: 2.453 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006303/0.1583, allocations: 369.9 kB / 369.2 MB, free: 2.059 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.1586, allocations: 0.708 MB / 369.9 MB, free: 1.324 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.36e-05/0.1586, allocations: 11.44 kB / 369.9 MB, free: 1.312 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1586, allocations: 3.938 kB / 369.9 MB, free: 1.309 MB / 302.1 MB Notification: Performance of Templates: time 0.1944/0.353, allocations: 1.925 MB / 371.9 MB, free: 19.61 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