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.001062/0.001062, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001497/0.002558, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.00093/0.00093, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00126/0.00219, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9311/0.9311, allocations: 177.4 MB / 189.9 MB, free: 4.816 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08692/1.018, allocations: 53.87 MB / 243.8 MB, free: 14.88 MB / 250.7 MB " [Timeout remaining time 179] 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 1.704e-06/1.704e-06, allocations: 0 / 245 MB, free: 13.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/2.022e-05, allocations: 2.312 kB / 245 MB, free: 13.61 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.002431/0.002452, allocations: 2.247 MB / 247.3 MB, free: 11.35 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008268/0.003278, allocations: 0.6268 MB / 247.9 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.279e-05/0.003351, allocations: 0 / 247.9 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.64e-05/0.003418, allocations: 27.78 kB / 247.9 MB, free: 10.69 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.606e-05/0.003484, allocations: 39.58 kB / 248 MB, free: 10.65 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001322/0.003616, allocations: 59.73 kB / 248 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.003756, allocations: 167.2 kB / 248.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.00387, allocations: 46.25 kB / 248.2 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000179/0.004049, allocations: 119.7 kB / 248.3 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.95e-05/0.004129, allocations: 47.88 kB / 248.4 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.004149, allocations: 12 kB / 248.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.111e-05/0.00422, allocations: 20 kB / 248.4 MB, free: 10.19 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.004238, allocations: 23.88 kB / 248.4 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.598e-05/0.004274, allocations: 39.94 kB / 248.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.004429, allocations: 107.6 kB / 248.6 MB, free: 10.02 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.214e-05/0.004441, allocations: 0 / 248.6 MB, free: 10.02 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.004442, allocations: 0 / 248.6 MB, free: 10.02 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.004454, allocations: 0 / 248.6 MB, free: 10.02 MB / 250.7 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.0004098/0.004864, allocations: 380.2 kB / 249 MB, free: 9.621 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.846e-05/0.004892, allocations: 8.625 kB / 249 MB, free: 9.613 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.005055, allocations: 110 kB / 249.1 MB, free: 9.488 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.005199, allocations: 141.5 kB / 249.2 MB, free: 9.324 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.005209, allocations: 8.609 kB / 249.2 MB, free: 9.316 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.005221, allocations: 12.38 kB / 249.2 MB, free: 9.305 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.005352, allocations: 126.5 kB / 249.4 MB, free: 9.168 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.005359, allocations: 4.188 kB / 249.4 MB, free: 9.164 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.005368, allocations: 4.375 kB / 249.4 MB, free: 9.16 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.005373, allocations: 7.938 kB / 249.4 MB, free: 9.152 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.25e-05/0.005416, allocations: 32.61 kB / 249.4 MB, free: 9.121 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003881/0.005804, allocations: 351.1 kB / 249.8 MB, free: 8.754 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.005961, allocations: 66.48 kB / 249.8 MB, free: 8.68 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.064e-05/0.005981, allocations: 16.84 kB / 249.8 MB, free: 8.66 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.005992, allocations: 4 kB / 249.8 MB, free: 8.656 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.006011, allocations: 34.56 kB / 249.9 MB, free: 8.613 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.006012, allocations: 0 / 249.9 MB, free: 8.613 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002812/0.006293, allocations: 134.5 kB / 250 MB, free: 8.473 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.006318, allocations: 55.41 kB / 250.1 MB, free: 8.406 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.635e-05/0.006394, allocations: 150 kB / 250.2 MB, free: 8.25 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.006405, allocations: 25.7 kB / 250.2 MB, free: 8.219 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.708e-05/0.006452, allocations: 124.1 kB / 250.4 MB, free: 8.094 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.006467, allocations: 19.8 kB / 250.4 MB, free: 8.074 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/0.006495, allocations: 25.69 kB / 250.4 MB, free: 8.043 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.925e-05/0.006565, allocations: 322.8 kB / 250.7 MB, free: 7.719 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.171e-05/0.006576, allocations: 7.984 kB / 250.7 MB, free: 7.711 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.452e-05/0.006601, allocations: 30.52 kB / 250.7 MB, free: 7.672 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.229e-05/0.006643, allocations: 50.47 kB / 250.8 MB, free: 7.613 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.006645, allocations: 0 / 250.8 MB, free: 7.613 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001181/0.006763, allocations: 94.38 kB / 250.9 MB, free: 7.512 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.006774, allocations: 7.938 kB / 250.9 MB, free: 7.504 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.006779, allocations: 4 kB / 250.9 MB, free: 7.5 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001098/0.006889, allocations: 28.91 kB / 250.9 MB, free: 7.469 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.578e-05/0.006924, allocations: 11.98 kB / 250.9 MB, free: 7.457 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007912/0.007716, allocations: 1.41 MB / 252.4 MB, free: 5.969 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.895e-05/0.007755, allocations: 11.92 kB / 252.4 MB, free: 5.957 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.00776, allocations: 4.031 kB / 252.4 MB, free: 5.953 MB / 250.7 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 6.185e-05/0.007822, allocations: 117.8 kB / 252.5 MB, free: 5.828 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.525e-05/0.007837, allocations: 4 kB / 252.5 MB, free: 5.824 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.585e-05/0.007853, allocations: 16.77 kB / 252.5 MB, free: 5.801 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.52e-07/0.007854, allocations: 0 / 252.5 MB, free: 5.801 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.22e-07/0.007854, allocations: 0 / 252.5 MB, free: 5.801 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.007857, allocations: 0 / 252.5 MB, free: 5.801 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.821e-05/0.007955, allocations: 109.7 kB / 252.6 MB, free: 5.676 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.007956, allocations: 0 / 252.6 MB, free: 5.676 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.369e-05/0.00797, allocations: 4 kB / 252.6 MB, free: 5.672 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.793e-06/0.007977, allocations: 7.953 kB / 252.6 MB, free: 5.664 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-05/0.008048, allocations: 32.83 kB / 252.7 MB, free: 5.629 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.406e-06/0.008051, allocations: 0 / 252.7 MB, free: 5.629 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006307/0.008682, allocations: 1.4 MB / 254.1 MB, free: 4.148 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.008684, allocations: 4.031 kB / 254.1 MB, free: 4.145 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.008827, allocations: 180.2 kB / 254.2 MB, free: 3.949 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.875e-06/0.008835, allocations: 4 kB / 254.2 MB, free: 3.945 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.504e-05/0.00888, allocations: 7.984 kB / 254.2 MB, free: 3.938 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.268e-05/0.008903, allocations: 3.984 kB / 254.2 MB, free: 3.934 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-06/0.008907, allocations: 4 kB / 254.3 MB, free: 3.93 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.513e-05/0.008932, allocations: 36.77 kB / 254.3 MB, free: 3.891 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008932, allocations: 0 / 254.3 MB, free: 3.891 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001881/0.00912, allocations: 35.94 kB / 254.3 MB, free: 3.855 MB / 250.7 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 5.85e-05/0.009179, allocations: 84.36 kB / 254.4 MB, free: 3.762 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001826/0.009361, allocations: 162.2 kB / 254.6 MB, free: 3.59 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.291e-06/0.009368, allocations: 4 kB / 254.6 MB, free: 3.586 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.363e-05/0.009451, allocations: 155.4 kB / 254.7 MB, free: 3.418 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001245/0.009576, allocations: 23.92 kB / 254.7 MB, free: 3.395 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.0113, allocations: 284.2 kB / 255 MB, free: 3.09 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.033e-05/0.01134, allocations: 71.28 kB / 255.1 MB, free: 3 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.06e-05/0.01137, allocations: 4.5 kB / 255.1 MB, free: 2.996 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.193e-05/0.01143, allocations: 63.36 kB / 255.2 MB, free: 2.934 MB / 250.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01143, allocations: 0 / 255.2 MB, free: 2.934 MB / 250.7 MB Notification: Performance of Templates: time 0.003777/0.01521, allocations: 1.592 MB / 256.7 MB, free: 1.359 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.438442279584706]