Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001879/0.001879, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002138/0.002138, allocations: 214.7 kB / 24.48 MB, free: 3.93 MB / 14.72 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 1.525/1.525, allocations: 230.5 MB / 258.1 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 59.91 kB / 379 MB, free: 2.309 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2882, allocations: 53.41 MB / 432.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004525/0.2927, allocations: 2.801 MB / 435.2 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.2943, allocations: 0.7167 MB / 435.9 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/0.2945, allocations: 7.938 kB / 435.9 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000193/0.2947, allocations: 59.48 kB / 436 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.2949, allocations: 103 kB / 436.1 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.2952, allocations: 103.8 kB / 436.2 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004692/0.2957, allocations: 410.2 kB / 436.6 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/0.2959, allocations: 74.53 kB / 436.7 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002758/0.2962, allocations: 171.3 kB / 436.8 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002078/0.2964, allocations: 139.3 kB / 437 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.03e-05/0.2964, allocations: 32 kB / 437 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.297e-05/0.2965, allocations: 40 kB / 437 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.523e-05/0.2966, allocations: 71.75 kB / 437.1 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.2967, allocations: 147.4 kB / 437.2 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004893/0.2972, allocations: 402 kB / 437.6 MB, free: 1.281 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.2972, allocations: 0 / 437.6 MB, free: 1.281 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2972, allocations: 4 kB / 437.6 MB, free: 1.277 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.2972, allocations: 0 / 437.6 MB, free: 1.277 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.001064/0.2983, allocations: 0.5598 MB / 438.2 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.2984, allocations: 15.97 kB / 438.2 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/0.2985, allocations: 48.7 kB / 438.3 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004325/0.299, allocations: 233.9 kB / 438.5 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.299, allocations: 17.03 kB / 438.5 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.44e-05/0.2991, allocations: 32.31 kB / 438.5 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000635/0.2997, allocations: 424.5 kB / 439 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.2997, allocations: 0 / 439 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.2997, allocations: 8 kB / 439 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.2997, allocations: 8 kB / 439 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005086/0.3003, allocations: 218.5 kB / 439.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001625/0.3019, allocations: 0.8134 MB / 440 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000516/0.3024, allocations: 209.4 kB / 440.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002153/0.3026, allocations: 96.75 kB / 440.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.3026, allocations: 7.984 kB / 440.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.3027, allocations: 34.56 kB / 440.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.583e-06/0.3027, allocations: 4 kB / 440.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001244/0.3039, allocations: 406.6 kB / 440.7 MB, free: 14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.304, allocations: 59.34 kB / 440.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/0.3042, allocations: 240.9 kB / 441 MB, free: 13.69 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.3043, allocations: 29.7 kB / 441.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.3044, allocations: 200.4 kB / 441.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.296e-05/0.3045, allocations: 67.39 kB / 441.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-05/0.3046, allocations: 49.94 kB / 441.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.3048, allocations: 338.8 kB / 441.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.305, allocations: 72.42 kB / 441.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.3052, allocations: 111.4 kB / 441.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004009/0.3056, allocations: 187.1 kB / 442.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3056, allocations: 0 / 442.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006715/0.3063, allocations: 314.9 kB / 442.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.3063, allocations: 11.94 kB / 442.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3063, allocations: 0 / 442.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002815/0.3066, allocations: 77.73 kB / 442.5 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.3068, allocations: 39.91 kB / 442.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002627/0.3094, allocations: 2.784 MB / 445.3 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.3096, allocations: 27.84 kB / 445.3 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.3096, allocations: 8 kB / 445.3 MB, free: 9.133 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.0001659/0.3098, allocations: 137.8 kB / 445.5 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.423e-05/0.3098, allocations: 23.86 kB / 445.5 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.064e-05/0.3099, allocations: 34.2 kB / 445.5 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.3099, allocations: 8.062 kB / 445.5 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.3099, allocations: 0 / 445.5 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3099, allocations: 0 / 445.5 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.3109, allocations: 0.5739 MB / 446.1 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3109, allocations: 0 / 446.1 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.3111, allocations: 43.89 kB / 446.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002021/0.3113, allocations: 69.61 kB / 446.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.3113, allocations: 8 kB / 446.2 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002598/0.3139, allocations: 2.775 MB / 449 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3139, allocations: 7.969 kB / 449 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000655/0.3146, allocations: 372.8 kB / 449.4 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.144e-05/0.3146, allocations: 28.09 kB / 449.4 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.3147, allocations: 8.062 kB / 449.4 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/0.3149, allocations: 39.91 kB / 449.4 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.502e-05/0.315, allocations: 11.97 kB / 449.4 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.315, allocations: 12 kB / 449.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001711/0.3152, allocations: 172.5 kB / 449.6 MB, free: 4.543 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3152, allocations: 0 / 449.6 MB, free: 4.543 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004015/0.3156, allocations: 99.78 kB / 449.7 MB, free: 4.445 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.0001381/0.3157, allocations: 107.2 kB / 449.8 MB, free: 4.332 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008113/0.3165, allocations: 429.1 kB / 450.2 MB, free: 3.887 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3165, allocations: 4.125 kB / 450.2 MB, free: 3.883 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004618/0.317, allocations: 337.2 kB / 450.6 MB, free: 3.527 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.3173, allocations: 36.42 kB / 450.6 MB, free: 3.492 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009561/0.3183, allocations: 0.5298 MB / 451.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/0.3184, allocations: 159.5 kB / 451.3 MB, free: 2.754 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.348e-05/0.3185, allocations: 19.44 kB / 451.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3185, allocations: 0 / 451.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of Templates: time 0.008327/0.3268, allocations: 5.632 MB / 456.9 MB, free: 13.11 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.769919297192246]