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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001588/0.001588, allocations: 117.9 kB / 18.5 MB, free: 4.52 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.001612/0.001612, allocations: 214.5 kB / 21.46 MB, free: 1.566 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.625/1.625, allocations: 230.2 MB / 254.5 MB, free: 15.25 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: translateModel(Modelica.Electrical.Analog.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|resistor.i|resistor.LossPower",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 71.81 kB / 373.8 MB, free: 9.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1128, allocations: 53.32 MB / 427.2 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.004022/0.1168, allocations: 2.166 MB / 429.3 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.1179, allocations: 0.6116 MB / 429.9 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.118, allocations: 4 kB / 429.9 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001526/0.1182, allocations: 23.72 kB / 430 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.526e-05/0.1183, allocations: 51.61 kB / 430 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.1186, allocations: 43.89 kB / 430.1 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000242/0.1188, allocations: 159.2 kB / 430.2 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.119, allocations: 45.41 kB / 430.3 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002793/0.1192, allocations: 67.72 kB / 430.3 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.1194, allocations: 71.69 kB / 430.4 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.1194, allocations: 12 kB / 430.4 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.776e-05/0.1195, allocations: 23.94 kB / 430.4 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.275e-05/0.1195, allocations: 35.91 kB / 430.5 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.631e-05/0.1196, allocations: 67.67 kB / 430.5 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002609/0.1198, allocations: 171.3 kB / 430.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1198, allocations: 0 / 430.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1198, allocations: 3.938 kB / 430.7 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.1199, allocations: 0 / 430.7 MB, free: 0.8906 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006697/0.1205, allocations: 447 kB / 431.1 MB, free: 412 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.1206, allocations: 8.031 kB / 431.2 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001843/0.1207, allocations: 32.83 kB / 431.2 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.121, allocations: 212.1 kB / 431.4 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.121, allocations: 8.609 kB / 431.4 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.1211, allocations: 8.375 kB / 431.4 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.1213, allocations: 127.8 kB / 431.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.1213, allocations: 0 / 431.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.1214, allocations: 4 kB / 431.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.1214, allocations: 4 kB / 431.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001922/0.1216, allocations: 84.59 kB / 431.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008729/0.1224, allocations: 0.5979 MB / 432.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003122/0.1227, allocations: 78.62 kB / 432.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.231e-05/0.1228, allocations: 40.91 kB / 432.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.1228, allocations: 0 / 432.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.1229, allocations: 38.55 kB / 432.4 MB, free: 15.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 8.22e-07/0.1229, allocations: 0 / 432.4 MB, free: 15.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007373/0.1236, allocations: 251.4 kB / 432.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.1237, allocations: 63.34 kB / 432.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.1238, allocations: 141.8 kB / 432.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/0.1238, allocations: 29.7 kB / 432.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.291e-05/0.1239, allocations: 120.2 kB / 433 MB, free: 14.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.1239, allocations: 23.8 kB / 433 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.964e-05/0.124, allocations: 29.7 kB / 433 MB, free: 14.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1242, allocations: 318.8 kB / 433.3 MB, free: 14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.653e-05/0.1242, allocations: 19.98 kB / 433.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.923e-05/0.1243, allocations: 42.5 kB / 433.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.1244, allocations: 78.48 kB / 433.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1244, allocations: 0 / 433.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002989/0.1247, allocations: 146.2 kB / 433.6 MB, free: 13.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1248, allocations: 4 kB / 433.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1248, allocations: 4 kB / 433.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001905/0.125, allocations: 44.83 kB / 433.7 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.318e-05/0.125, allocations: 8 kB / 433.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/0.1267, allocations: 1.684 MB / 435.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.091e-05/0.1268, allocations: 11.97 kB / 435.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.1268, allocations: 4 kB / 435.4 MB, free: 11.79 MB / 366.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.0001257/0.127, allocations: 125.8 kB / 435.5 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.127, allocations: 11.95 kB / 435.5 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.877e-05/0.127, allocations: 8.719 kB / 435.5 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.127, allocations: 0 / 435.5 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.127, allocations: 0 / 435.5 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.127, allocations: 4 kB / 435.5 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.1273, allocations: 221.5 kB / 435.7 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1273, allocations: 0 / 435.7 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.492e-05/0.1273, allocations: 7.938 kB / 435.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001292/0.1274, allocations: 40.83 kB / 435.8 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.1274, allocations: 0 / 435.8 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001538/0.129, allocations: 1.682 MB / 437.5 MB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.129, allocations: 0 / 437.5 MB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.1293, allocations: 212.3 kB / 437.7 MB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.351e-05/0.1294, allocations: 89.06 kB / 437.8 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.1294, allocations: 0 / 437.8 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.658e-05/0.1295, allocations: 7.984 kB / 437.8 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.1295, allocations: 8 kB / 437.8 MB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.1295, allocations: 0 / 437.8 MB, free: 9.148 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.663e-05/0.1296, allocations: 118.6 kB / 437.9 MB, free: 9.035 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1296, allocations: 0 / 437.9 MB, free: 9.035 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000344/0.13, allocations: 43.89 kB / 437.9 MB, free: 8.992 MB / 366.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.0001349/0.1301, allocations: 99.25 kB / 438 MB, free: 8.887 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004336/0.1305, allocations: 190.5 kB / 438.2 MB, free: 8.688 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1305, allocations: 192 / 438.2 MB, free: 8.688 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002225/0.1307, allocations: 158.6 kB / 438.4 MB, free: 8.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.131, allocations: 16.38 kB / 438.4 MB, free: 8.504 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006168/0.1316, allocations: 303.6 kB / 438.7 MB, free: 8.176 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.132, allocations: 0.708 MB / 439.4 MB, free: 7.441 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.985e-05/0.132, allocations: 4.422 kB / 439.4 MB, free: 7.438 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/0.1321, allocations: 11.44 kB / 439.4 MB, free: 7.426 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1321, allocations: 0 / 439.4 MB, free: 7.426 MB / 366.1 MB Notification: Performance of Templates: time 0.005027/0.1371, allocations: 1.538 MB / 440.9 MB, free: 5.898 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.86333895009011]