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.001841/0.001841, allocations: 115.3 kB / 21.17 MB, free: 0.7812 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.002367/0.002367, 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.484/1.484, allocations: 230.4 MB / 258.1 MB, free: 8.16 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.00192/0.00192, allocations: 71.77 kB / 378.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2887, allocations: 53.32 MB / 432.1 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004526/0.2933, allocations: 3.05 MB / 435.1 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.2947, allocations: 0.7518 MB / 435.9 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.2948, allocations: 8 kB / 435.9 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001905/0.295, allocations: 59.42 kB / 435.9 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001927/0.2952, allocations: 99.06 kB / 436 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003576/0.2955, allocations: 99.84 kB / 436.1 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004782/0.296, allocations: 418.2 kB / 436.5 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002022/0.2962, allocations: 75.11 kB / 436.6 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002696/0.2965, allocations: 159.4 kB / 436.8 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.2967, allocations: 163.3 kB / 436.9 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.134e-05/0.2968, allocations: 32 kB / 436.9 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.068e-05/0.2969, allocations: 40 kB / 437 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.6e-05/0.2969, allocations: 71.7 kB / 437.1 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001882/0.2971, allocations: 183.1 kB / 437.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004558/0.2976, allocations: 388 kB / 437.6 MB, free: 1.812 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.2976, allocations: 0 / 437.6 MB, free: 1.812 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2976, allocations: 0 / 437.6 MB, free: 1.812 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.2976, allocations: 4 kB / 437.6 MB, free: 1.809 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.001127/0.2987, allocations: 0.6428 MB / 438.3 MB, free: 1.117 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.2988, allocations: 12.92 kB / 438.3 MB, free: 1.105 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/0.299, allocations: 52.69 kB / 438.3 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004589/0.2994, allocations: 299.6 kB / 438.6 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.2994, allocations: 16.94 kB / 438.6 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.955e-05/0.2995, allocations: 28.38 kB / 438.7 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005236/0.3, allocations: 257.2 kB / 438.9 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.3, allocations: 4 kB / 438.9 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.96e-05/0.3, allocations: 12 kB / 438.9 MB, free: 416 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.3001, allocations: 8 kB / 438.9 MB, free: 408 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000496/0.3005, allocations: 222.1 kB / 439.2 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001748/0.3023, allocations: 0.968 MB / 440.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005456/0.3028, allocations: 279.7 kB / 440.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/0.3031, allocations: 100.8 kB / 440.5 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.3031, allocations: 0 / 440.5 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.3031, allocations: 38.56 kB / 440.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.112e-06/0.3031, allocations: 0 / 440.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001335/0.3045, allocations: 0.5638 MB / 441.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.3045, allocations: 51.41 kB / 441.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002827/0.3048, allocations: 262.6 kB / 441.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/0.3048, allocations: 29.7 kB / 441.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.305, allocations: 184.2 kB / 441.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.319e-05/0.305, allocations: 71.39 kB / 441.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.422e-05/0.3051, allocations: 49.89 kB / 441.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.3053, allocations: 334.8 kB / 442.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.3055, allocations: 76.42 kB / 442.1 MB, free: 13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002168/0.3057, allocations: 107.4 kB / 442.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004069/0.3061, allocations: 191.1 kB / 442.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3061, allocations: 0 / 442.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006775/0.3068, allocations: 326.8 kB / 442.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.3068, allocations: 4 kB / 442.7 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3068, allocations: 0 / 442.7 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002777/0.3071, allocations: 69.67 kB / 442.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.3073, allocations: 47.91 kB / 442.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002826/0.3101, allocations: 3.051 MB / 445.9 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.3103, allocations: 19.92 kB / 445.9 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.3103, 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.0001702/0.3105, allocations: 138 kB / 446.1 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.012e-05/0.3106, allocations: 35.69 kB / 446.1 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.386e-05/0.3106, allocations: 38.25 kB / 446.1 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.3106, allocations: 7.922 kB / 446.2 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.946e-06/0.3106, allocations: 7.938 kB / 446.2 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3106, allocations: 0 / 446.2 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.3118, allocations: 0.6818 MB / 446.8 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3118, allocations: 0 / 446.8 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.3119, allocations: 31.92 kB / 446.9 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001887/0.3121, allocations: 65.67 kB / 446.9 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.3121, allocations: 8 kB / 446.9 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00261/0.3147, allocations: 3.044 MB / 450 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.3147, allocations: 3.984 kB / 450 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006695/0.3154, allocations: 377.5 kB / 450.4 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.203e-05/0.3155, allocations: 108.9 kB / 450.5 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.201e-05/0.3155, allocations: 8 kB / 450.5 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002683/0.3158, allocations: 27.97 kB / 450.5 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.617e-05/0.3158, allocations: 19.97 kB / 450.5 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.3159, allocations: 12 kB / 450.5 MB, free: 3.863 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001892/0.3161, allocations: 189.9 kB / 450.7 MB, free: 3.684 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3161, allocations: 0 / 450.7 MB, free: 3.684 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003827/0.3164, allocations: 91.89 kB / 450.8 MB, free: 3.594 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.0001641/0.3166, allocations: 113.4 kB / 450.9 MB, free: 3.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000817/0.3174, allocations: 437.1 kB / 451.3 MB, free: 3.027 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3174, allocations: 0 / 451.3 MB, free: 3.027 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004669/0.3179, allocations: 337.1 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.000394/0.3183, allocations: 63.86 kB / 451.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009894/0.3193, allocations: 0.5359 MB / 452.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004246/0.3197, allocations: 0.7639 MB / 453 MB, free: 1.254 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.711e-05/0.3198, allocations: 19.44 kB / 453.1 MB, free: 1.234 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3198, allocations: 0 / 453.1 MB, free: 1.234 MB / 350.1 MB Notification: Performance of Templates: time 0.00843/0.3282, allocations: 5.676 MB / 458.7 MB, free: 11.57 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 -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: 7.596301787067205]