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.001512/0.001512, allocations: 111.8 kB / 19.17 MB, free: 3.871 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.001636/0.001636, allocations: 208.9 kB / 22.13 MB, free: 0.918 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.474/1.474, allocations: 230.2 MB / 255.2 MB, free: 15.26 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.00188/0.00188, allocations: 71.86 kB / 374.5 MB, free: 9.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09592/0.0978, allocations: 53.32 MB / 427.8 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.003573/0.1014, allocations: 2.158 MB / 430 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.1025, allocations: 0.6155 MB / 430.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.706e-05/0.1025, allocations: 0 / 430.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.1027, allocations: 27.78 kB / 430.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.394e-05/0.1028, allocations: 43.56 kB / 430.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.103, allocations: 51.89 kB / 430.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.1032, allocations: 163.2 kB / 430.9 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.1034, allocations: 37.48 kB / 430.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.1035, allocations: 67.72 kB / 431 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.1036, allocations: 67.69 kB / 431.1 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.1037, allocations: 12 kB / 431.1 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.987e-05/0.1037, allocations: 24 kB / 431.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.595e-05/0.1038, allocations: 35.84 kB / 431.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.809e-05/0.1039, allocations: 67.67 kB / 431.2 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002599/0.1041, allocations: 171.3 kB / 431.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1041, allocations: 3.938 kB / 431.4 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1041, allocations: 3.938 kB / 431.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.898e-06/0.1041, allocations: 0 / 431.4 MB, free: 0.9297 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.0006655/0.1048, allocations: 457.7 kB / 431.8 MB, free: 444 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.1048, allocations: 8.031 kB / 431.8 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/0.105, allocations: 28.83 kB / 431.9 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.1053, allocations: 208.1 kB / 432.1 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.1053, allocations: 8.609 kB / 432.1 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.1053, allocations: 12.38 kB / 432.1 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/0.1056, allocations: 123.8 kB / 432.2 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1056, allocations: 0 / 432.2 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.1056, allocations: 4 kB / 432.2 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1056, allocations: 4 kB / 432.2 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002117/0.1059, allocations: 80.59 kB / 432.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009003/0.1068, allocations: 0.6096 MB / 432.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003059/0.1071, allocations: 78.62 kB / 433 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.464e-05/0.1071, allocations: 32.97 kB / 433 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.1072, allocations: 4 kB / 433 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.1072, allocations: 38.5 kB / 433.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.1072, allocations: 0 / 433.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007459/0.1079, allocations: 255.4 kB / 433.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.108, allocations: 55.34 kB / 433.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.1081, allocations: 153.2 kB / 433.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.1082, allocations: 25.7 kB / 433.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.009e-05/0.1082, allocations: 124.2 kB / 433.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.1083, allocations: 19.8 kB / 433.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.792e-05/0.1083, allocations: 25.7 kB / 433.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1085, allocations: 318.8 kB / 434 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.095e-05/0.1085, allocations: 23.98 kB / 434 MB, free: 14.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.012e-05/0.1086, allocations: 42.56 kB / 434.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.1088, allocations: 66.5 kB / 434.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1088, allocations: 4 kB / 434.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003146/0.1091, allocations: 142.3 kB / 434.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.1091, allocations: 7.938 kB / 434.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.1091, allocations: 4 kB / 434.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001961/0.1093, allocations: 40.77 kB / 434.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.806e-05/0.1094, allocations: 8.25 kB / 434.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001752/0.1111, allocations: 1.704 MB / 436 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.805e-05/0.1112, allocations: 15.97 kB / 436.1 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.1112, allocations: 4 kB / 436.1 MB, free: 11.81 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.000113/0.1113, allocations: 121.8 kB / 436.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.398e-05/0.1113, allocations: 7.953 kB / 436.2 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.445e-05/0.1114, allocations: 16.78 kB / 436.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1114, allocations: 0 / 436.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.1114, allocations: 0 / 436.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1114, allocations: 0 / 436.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/0.1116, allocations: 221.5 kB / 436.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1116, allocations: 0 / 436.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.869e-05/0.1117, allocations: 4 kB / 436.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001424/0.1118, allocations: 40.77 kB / 436.5 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.1118, allocations: 0 / 436.5 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00154/0.1134, allocations: 1.686 MB / 438.2 MB, free: 9.523 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1134, allocations: 0 / 438.2 MB, free: 9.523 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003404/0.1137, allocations: 208.2 kB / 438.4 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.707e-05/0.1138, allocations: 89.06 kB / 438.4 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.1138, allocations: 0 / 438.4 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.1139, allocations: 12.05 kB / 438.5 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.1139, allocations: 4 kB / 438.5 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.1139, allocations: 0 / 438.5 MB, free: 9.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.62e-05/0.114, allocations: 119.2 kB / 438.6 MB, free: 9.062 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.114, allocations: 0 / 438.6 MB, free: 9.062 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003803/0.1144, allocations: 43.89 kB / 438.6 MB, free: 9.02 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.0001293/0.1145, allocations: 95.25 kB / 438.7 MB, free: 8.918 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004475/0.115, allocations: 190.5 kB / 438.9 MB, free: 8.719 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.115, allocations: 0 / 438.9 MB, free: 8.719 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002415/0.1152, allocations: 162.6 kB / 439.1 MB, free: 8.547 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.1155, allocations: 8 kB / 439.1 MB, free: 8.539 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006124/0.1161, allocations: 329.5 kB / 439.4 MB, free: 8.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.1165, allocations: 0.7041 MB / 440.1 MB, free: 7.449 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.1165, allocations: 11.44 kB / 440.1 MB, free: 7.438 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1165, allocations: 7.938 kB / 440.1 MB, free: 7.43 MB / 366.1 MB Notification: Performance of Templates: time 0.004144/0.1206, allocations: 1.936 MB / 442 MB, free: 5.492 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Resistor/Resistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 6.920129695907235]