Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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.001501/0.001501, allocations: 107.8 kB / 19.76 MB, free: 2.551 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.002192/0.002192, allocations: 191.8 kB / 22.93 MB, free: 5.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.488/1.488, allocations: 207.6 MB / 233.5 MB, free: 10.99 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 55.91 kB / 345.4 MB, free: 10.45 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3437, allocations: 49.12 MB / 394.5 MB, free: 9.441 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.003869/0.3475, allocations: 2.982 MB / 397.5 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.3487, allocations: 0.7255 MB / 398.2 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001451/0.3488, allocations: 8.969 kB / 398.2 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001793/0.349, allocations: 59.05 kB / 398.3 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001686/0.3492, allocations: 104.7 kB / 398.4 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.3494, allocations: 88.05 kB / 398.5 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003706/0.3498, allocations: 411.9 kB / 398.9 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002107/0.35, allocations: 83.62 kB / 399 MB, free: 6.387 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002233/0.3502, allocations: 150.1 kB / 399.1 MB, free: 6.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.3505, allocations: 159.9 kB / 399.3 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.482e-05/0.3505, allocations: 35.69 kB / 399.3 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.093e-05/0.3506, allocations: 32.84 kB / 399.3 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.155e-05/0.3507, allocations: 83.58 kB / 399.4 MB, free: 6.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001755/0.3509, allocations: 170.7 kB / 399.6 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004439/0.3513, allocations: 390.4 kB / 400 MB, free: 5.934 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3513, allocations: 0 / 400 MB, free: 5.934 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3513, allocations: 0 / 400 MB, free: 5.934 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.3513, allocations: 1.125 kB / 400 MB, free: 5.934 MB / 318.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.0009526/0.3523, allocations: 0.6356 MB / 400.6 MB, free: 5.422 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.3523, allocations: 12.7 kB / 400.6 MB, free: 5.418 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.345e-05/0.3524, allocations: 40.41 kB / 400.7 MB, free: 5.398 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.3528, allocations: 294.5 kB / 400.9 MB, free: 5.125 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.3528, allocations: 19.62 kB / 401 MB, free: 5.117 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.913e-05/0.3528, allocations: 25.56 kB / 401 MB, free: 5.109 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004955/0.3533, allocations: 257.4 kB / 401.2 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.3533, allocations: 11.86 kB / 401.3 MB, free: 4.984 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.92e-05/0.3534, allocations: 16.16 kB / 401.3 MB, free: 4.973 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.3534, allocations: 6.875 kB / 401.3 MB, free: 4.973 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004531/0.3538, allocations: 221.4 kB / 401.5 MB, free: 4.898 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.3553, allocations: 0.9545 MB / 402.4 MB, free: 4.289 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004607/0.3558, allocations: 283.3 kB / 402.7 MB, free: 4.102 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.356, allocations: 96.17 kB / 402.8 MB, free: 4.066 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.356, allocations: 2.812 kB / 402.8 MB, free: 4.066 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.356, allocations: 39.75 kB / 402.9 MB, free: 4.02 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.362e-06/0.356, allocations: 0 / 402.9 MB, free: 4.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001167/0.3572, allocations: 0.5552 MB / 403.4 MB, free: 3.672 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/0.3572, allocations: 53.69 kB / 403.5 MB, free: 3.609 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002475/0.3575, allocations: 262.3 kB / 403.7 MB, free: 3.453 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.3575, allocations: 27.08 kB / 403.7 MB, free: 3.422 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.322e-05/0.3576, allocations: 189 kB / 403.9 MB, free: 3.262 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/0.3576, allocations: 74.31 kB / 404 MB, free: 3.203 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.2e-05/0.3577, allocations: 48.14 kB / 404.1 MB, free: 3.168 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.009e-05/0.3578, allocations: 332.1 kB / 404.4 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.358, allocations: 80.56 kB / 404.5 MB, free: 2.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.3582, allocations: 110.6 kB / 404.6 MB, free: 2.766 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003651/0.3585, allocations: 194.9 kB / 404.8 MB, free: 2.668 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3585, allocations: 0 / 404.8 MB, free: 2.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000583/0.3591, allocations: 317.3 kB / 405.1 MB, free: 2.52 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3591, allocations: 9.031 kB / 405.1 MB, free: 2.516 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3591, allocations: 2 kB / 405.1 MB, free: 2.516 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002771/0.3594, allocations: 72.84 kB / 405.1 MB, free: 2.484 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.3596, allocations: 39.62 kB / 405.2 MB, free: 2.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002073/0.3617, allocations: 3.049 MB / 408.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.3619, allocations: 33.38 kB / 408.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.3619, allocations: 8.844 kB / 408.3 MB, free: 15.48 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 (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.0001668/0.362, allocations: 139.8 kB / 408.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.65e-05/0.3621, allocations: 33.44 kB / 408.4 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.078e-05/0.3622, allocations: 26.77 kB / 408.5 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3622, allocations: 6.766 kB / 408.5 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.3622, allocations: 1.062 kB / 408.5 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3622, allocations: 6.906 kB / 408.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.3633, allocations: 0.6823 MB / 409.2 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3633, allocations: 0 / 409.2 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.3635, allocations: 27.89 kB / 409.2 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002024/0.3637, allocations: 77.84 kB / 409.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.3637, allocations: 5.859 kB / 409.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002658/0.3664, allocations: 3.052 MB / 412.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3664, allocations: 0 / 412.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006556/0.367, allocations: 383.6 kB / 412.7 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.925e-05/0.3671, allocations: 106.8 kB / 412.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.44e-05/0.3671, allocations: 5.438 kB / 412.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/0.3674, allocations: 35.3 kB / 412.8 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.589e-05/0.3675, allocations: 19.78 kB / 412.9 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.3675, allocations: 4.281 kB / 412.9 MB, free: 11.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002022/0.3677, allocations: 190.9 kB / 413.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3677, allocations: 0 / 413.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004288/0.3681, allocations: 91.41 kB / 413.1 MB, free: 11.3 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 (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.0001705/0.3683, allocations: 114.3 kB / 413.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008396/0.3691, allocations: 436 kB / 413.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3691, allocations: 0 / 413.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004761/0.3696, allocations: 351.9 kB / 414 MB, free: 10.63 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/0.37, allocations: 46.91 kB / 414.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.3711, allocations: 0.5014 MB / 414.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004565/0.3715, allocations: 0.7644 MB / 415.3 MB, free: 9.605 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.3717, allocations: 21.44 kB / 415.4 MB, free: 9.598 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.682e-05/0.3717, allocations: 19.8 kB / 415.4 MB, free: 9.59 MB / 334.1 MB Notification: Performance of SimCode: time 9.61e-07/0.3717, allocations: 0 / 415.4 MB, free: 9.59 MB / 334.1 MB Notification: Performance of Templates: time 0.0095/0.3812, allocations: 3.861 MB / 419.2 MB, free: 7.793 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 5.034485939890146]