Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 191.8 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 51.92 kB / 370.9 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2778, allocations: 52.17 MB / 423.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.003535/0.2814, allocations: 2.079 MB / 425.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.2824, allocations: 0.5105 MB / 425.7 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.803e-05/0.2825, allocations: 4 kB / 425.7 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.2826, allocations: 27.78 kB / 425.7 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.438e-05/0.2827, allocations: 47.56 kB / 425.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000235/0.2829, allocations: 39.89 kB / 425.8 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.2831, allocations: 155.3 kB / 425.9 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.2833, allocations: 48.06 kB / 426 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.2834, allocations: 59.84 kB / 426 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.2835, allocations: 59.64 kB / 426.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.2835, allocations: 12 kB / 426.1 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.845e-05/0.2836, allocations: 20 kB / 426.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.282e-05/0.2837, allocations: 39.83 kB / 426.2 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.692e-05/0.2837, allocations: 55.8 kB / 426.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002509/0.284, allocations: 159.1 kB / 426.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.284, allocations: 0 / 426.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.284, allocations: 4 kB / 426.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.284, allocations: 0 / 426.4 MB, free: 11.18 MB / 334.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.0006068/0.2846, allocations: 365.9 kB / 426.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.2846, allocations: 12.03 kB / 426.7 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.601e-05/0.2847, allocations: 20.84 kB / 426.8 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/0.285, allocations: 149.2 kB / 426.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.285, allocations: 8.609 kB / 426.9 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.2851, allocations: 12.38 kB / 426.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.2854, allocations: 150.6 kB / 427.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.2854, allocations: 7.938 kB / 427.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.2854, allocations: 4 kB / 427.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.2854, allocations: 4 kB / 427.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.2856, allocations: 80.59 kB / 427.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000798/0.2864, allocations: 443 kB / 427.6 MB, free: 9.844 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003162/0.2867, allocations: 86.5 kB / 427.7 MB, free: 9.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.368e-05/0.2868, allocations: 28.97 kB / 427.7 MB, free: 9.719 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.2868, allocations: 4 kB / 427.7 MB, free: 9.715 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.2868, allocations: 34.56 kB / 427.8 MB, free: 9.672 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.2868, allocations: 0 / 427.8 MB, free: 9.672 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.00066/0.2875, allocations: 174.3 kB / 427.9 MB, free: 9.492 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.2875, allocations: 55.41 kB / 428 MB, free: 9.426 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.2877, allocations: 148.3 kB / 428.1 MB, free: 9.273 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.2877, allocations: 33.7 kB / 428.2 MB, free: 9.234 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.536e-05/0.2878, allocations: 124.1 kB / 428.3 MB, free: 9.105 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.2878, allocations: 19.84 kB / 428.3 MB, free: 9.086 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.591e-05/0.2878, allocations: 21.72 kB / 428.3 MB, free: 9.059 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.288, allocations: 318.8 kB / 428.6 MB, free: 8.738 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.397e-05/0.2881, allocations: 23.98 kB / 428.6 MB, free: 8.715 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.484e-05/0.2882, allocations: 46.5 kB / 428.7 MB, free: 8.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.2883, allocations: 66.56 kB / 428.8 MB, free: 8.586 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2883, allocations: 0 / 428.8 MB, free: 8.586 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003089/0.2886, allocations: 134.3 kB / 428.9 MB, free: 8.445 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.2887, allocations: 8 kB / 428.9 MB, free: 8.438 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2887, allocations: 0 / 428.9 MB, free: 8.438 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002187/0.2889, allocations: 36.83 kB / 428.9 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.024e-05/0.289, allocations: 11.98 kB / 428.9 MB, free: 8.387 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001623/0.2906, allocations: 1.563 MB / 430.5 MB, free: 6.723 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.324e-05/0.2906, allocations: 7.969 kB / 430.5 MB, free: 6.715 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.2907, allocations: 7.984 kB / 430.5 MB, free: 6.707 MB / 334.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.0001261/0.2908, allocations: 125.8 kB / 430.6 MB, free: 6.574 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.2908, allocations: 7.953 kB / 430.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/0.2909, allocations: 16.66 kB / 430.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.2909, allocations: 192 / 430.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.2909, allocations: 0 / 430.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2909, allocations: 7.875 kB / 430.7 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.291, allocations: 149.2 kB / 430.8 MB, free: 6.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2911, allocations: 0 / 430.8 MB, free: 6.371 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.498e-05/0.2911, allocations: 0 / 430.8 MB, free: 6.371 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001306/0.2912, allocations: 40.83 kB / 430.9 MB, free: 6.328 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.2912, allocations: 4 kB / 430.9 MB, free: 6.324 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001451/0.2927, allocations: 1.552 MB / 432.4 MB, free: 4.664 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2927, allocations: 0 / 432.4 MB, free: 4.664 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003485/0.293, allocations: 220.2 kB / 432.6 MB, free: 4.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.809e-05/0.293, allocations: 7.953 kB / 432.6 MB, free: 4.422 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.2931, allocations: 12 kB / 432.7 MB, free: 4.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.2932, allocations: 7.984 kB / 432.7 MB, free: 4.402 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.2932, allocations: 3.984 kB / 432.7 MB, free: 4.398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.567e-06/0.2932, allocations: 8 kB / 432.7 MB, free: 4.391 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.237e-05/0.2933, allocations: 103.3 kB / 432.8 MB, free: 4.289 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2933, allocations: 0 / 432.8 MB, free: 4.289 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000361/0.2937, allocations: 39.95 kB / 432.8 MB, free: 4.25 MB / 334.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 9.542e-05/0.2938, allocations: 95.25 kB / 432.9 MB, free: 4.148 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004169/0.2942, allocations: 190.6 kB / 433.1 MB, free: 3.949 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2942, allocations: 0 / 433.1 MB, free: 3.949 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002281/0.2944, allocations: 158.6 kB / 433.2 MB, free: 3.781 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.2947, allocations: 8 kB / 433.3 MB, free: 3.773 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005896/0.2953, allocations: 305 kB / 433.6 MB, free: 3.449 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.849e-05/0.2954, allocations: 90.28 kB / 433.6 MB, free: 3.336 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.271e-05/0.2954, allocations: 8.422 kB / 433.7 MB, free: 3.328 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.378e-05/0.2954, allocations: 15.44 kB / 433.7 MB, free: 3.312 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2954, allocations: 0 / 433.7 MB, free: 3.312 MB / 334.1 MB Notification: Performance of Templates: time 0.005058/0.3005, allocations: 1.575 MB / 435.2 MB, free: 1.754 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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_4.0.0_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.763365142047405]