Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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.001418/0.001418, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001515/0.001515, allocations: 217.3 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.487/1.487, allocations: 230.4 MB / 258.1 MB, free: 8.156 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor") translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 75.77 kB / 378.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2674, allocations: 53.31 MB / 432.1 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.005009/0.2724, allocations: 3.053 MB / 435.1 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.274, allocations: 0.7596 MB / 435.9 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002011/0.2742, allocations: 4 kB / 435.9 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001996/0.2744, allocations: 51.44 kB / 435.9 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002366/0.2746, allocations: 107 kB / 436 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003422/0.2749, allocations: 99.86 kB / 436.1 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000486/0.2754, allocations: 414.1 kB / 436.5 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001956/0.2756, allocations: 79.11 kB / 436.6 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002745/0.2759, allocations: 155.4 kB / 436.8 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000222/0.2761, allocations: 167.3 kB / 436.9 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.583e-05/0.2762, allocations: 32 kB / 437 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.841e-05/0.2763, allocations: 44 kB / 437 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.335e-05/0.2763, allocations: 75.69 kB / 437.1 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.2765, allocations: 171.1 kB / 437.2 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005081/0.277, allocations: 395.9 kB / 437.6 MB, free: 1.809 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.277, allocations: 0 / 437.6 MB, free: 1.809 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.277, allocations: 7.938 kB / 437.6 MB, free: 1.801 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.277, allocations: 0 / 437.6 MB, free: 1.801 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001128/0.2782, allocations: 0.635 MB / 438.3 MB, free: 1.117 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.2782, allocations: 12.92 kB / 438.3 MB, free: 1.105 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001981/0.2784, allocations: 44.7 kB / 438.3 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000466/0.2789, allocations: 303.6 kB / 438.6 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.2789, allocations: 16.94 kB / 438.6 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.136e-05/0.2789, allocations: 28.38 kB / 438.7 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005519/0.2795, allocations: 257.2 kB / 438.9 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.2795, allocations: 4 kB / 438.9 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.077e-05/0.2795, allocations: 8 kB / 438.9 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.2795, allocations: 8 kB / 438.9 MB, free: 416 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005035/0.28, allocations: 218.1 kB / 439.2 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001807/0.2819, allocations: 0.9797 MB / 440.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005435/0.2824, allocations: 283.7 kB / 440.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/0.2826, allocations: 96.8 kB / 440.5 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.2826, allocations: 0 / 440.5 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.2827, allocations: 38.56 kB / 440.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.202e-06/0.2827, allocations: 0 / 440.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001414/0.2841, allocations: 0.556 MB / 441.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.2841, allocations: 55.41 kB / 441.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003024/0.2844, allocations: 262.6 kB / 441.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.2845, allocations: 29.7 kB / 441.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.2846, allocations: 180.2 kB / 441.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.361e-05/0.2847, allocations: 75.38 kB / 441.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.2848, allocations: 49.89 kB / 441.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.285, allocations: 334.8 kB / 442.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.2852, allocations: 80.42 kB / 442.1 MB, free: 13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003092/0.2855, allocations: 107.4 kB / 442.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004292/0.2859, allocations: 187.1 kB / 442.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.2859, allocations: 4 kB / 442.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007117/0.2866, allocations: 326.8 kB / 442.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.2867, allocations: 6.812 kB / 442.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.2867, allocations: 0 / 442.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002965/0.287, allocations: 73.67 kB / 442.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.2872, allocations: 39.91 kB / 442.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002908/0.2901, allocations: 3.048 MB / 445.9 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.2903, allocations: 27.97 kB / 445.9 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.2904, allocations: 8 kB / 445.9 MB, free: 8.875 MB / 350.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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000201/0.2906, allocations: 137.8 kB / 446.1 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.155e-05/0.2906, allocations: 39.62 kB / 446.1 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.689e-05/0.2907, allocations: 30.17 kB / 446.2 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.2907, allocations: 3.984 kB / 446.2 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/0.2907, allocations: 4 kB / 446.2 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.2907, allocations: 4 kB / 446.2 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.2919, allocations: 0.6859 MB / 446.9 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.2919, allocations: 0 / 446.9 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.292, allocations: 31.92 kB / 446.9 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002167/0.2923, allocations: 77.78 kB / 447 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.2923, allocations: 4 kB / 447 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002699/0.295, allocations: 3.033 MB / 450 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.295, allocations: 0 / 450 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006725/0.2956, allocations: 392.5 kB / 450.4 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.964e-05/0.2957, allocations: 96.91 kB / 450.5 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.2958, allocations: 8 kB / 450.5 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002661/0.296, allocations: 31.97 kB / 450.5 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.433e-05/0.2961, allocations: 23.97 kB / 450.5 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.2961, allocations: 4 kB / 450.5 MB, free: 3.875 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002055/0.2963, allocations: 186 kB / 450.7 MB, free: 3.699 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2963, allocations: 0 / 450.7 MB, free: 3.699 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000428/0.2968, allocations: 99.83 kB / 450.8 MB, free: 3.602 MB / 350.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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000175/0.2969, allocations: 111.2 kB / 450.9 MB, free: 3.484 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009199/0.2979, allocations: 425.1 kB / 451.3 MB, free: 3.043 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2979, allocations: 0 / 451.3 MB, free: 3.043 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005079/0.2984, allocations: 353.2 kB / 451.7 MB, free: 2.672 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004596/0.2988, allocations: 44.55 kB / 451.7 MB, free: 2.629 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.2998, allocations: 0.5196 MB / 452.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004222/0.3003, allocations: 0.7639 MB / 453 MB, free: 1.289 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001058/0.3004, allocations: 26.28 kB / 453 MB, free: 1.266 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.22e-05/0.3004, allocations: 15.44 kB / 453.1 MB, free: 1.25 MB / 350.1 MB Notification: Performance of SimCode: time 6.32e-07/0.3004, allocations: 0 / 453.1 MB, free: 1.25 MB / 350.1 MB Notification: Performance of Templates: time 0.008524/0.309, allocations: 3.855 MB / 456.9 MB, free: 13.43 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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.786885482724756]