Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0023/0.0023, allocations: 213.3 kB / 24.48 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.611/1.611, allocations: 230.6 MB / 258.3 MB, free: 7.738 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_4.1.0_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_Modelica.Electrical.Analog.Examples.ShowVariableResistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 43.94 kB / 379 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2287, allocations: 53.37 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004254/0.233, allocations: 2.793 MB / 435.1 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.2343, allocations: 0.7167 MB / 435.9 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.2344, allocations: 15.88 kB / 435.9 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000174/0.2346, allocations: 51.44 kB / 435.9 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.2348, allocations: 111 kB / 436 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.2351, allocations: 95.88 kB / 436.1 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004608/0.2356, allocations: 418.1 kB / 436.5 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.2358, allocations: 78.53 kB / 436.6 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002579/0.236, allocations: 159.5 kB / 436.8 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.2362, allocations: 167.2 kB / 436.9 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.849e-05/0.2363, allocations: 36 kB / 437 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.594e-05/0.2364, allocations: 40 kB / 437 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.113e-05/0.2364, allocations: 71.77 kB / 437.1 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.2366, allocations: 147.3 kB / 437.2 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004461/0.237, allocations: 398 kB / 437.6 MB, free: 1.422 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.237, allocations: 4 kB / 437.6 MB, free: 1.418 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.237, allocations: 0 / 437.6 MB, free: 1.418 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.237, allocations: 0 / 437.6 MB, free: 1.418 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.001022/0.2381, allocations: 0.5637 MB / 438.2 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.2381, allocations: 8.031 kB / 438.2 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001932/0.2383, allocations: 52.69 kB / 438.2 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.2387, allocations: 229.8 kB / 438.5 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.2387, allocations: 25.03 kB / 438.5 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.885e-05/0.2388, allocations: 24.38 kB / 438.5 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006322/0.2394, allocations: 416.6 kB / 438.9 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.2394, allocations: 0 / 438.9 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.541e-05/0.2394, allocations: 16 kB / 438.9 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.2394, allocations: 4 kB / 438.9 MB, free: 0 / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000485/0.2399, allocations: 218.5 kB / 439.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.2415, allocations: 0.8172 MB / 440 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004967/0.242, allocations: 215.6 kB / 440.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.2423, allocations: 104.8 kB / 440.3 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.2423, allocations: 0 / 440.3 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.2423, allocations: 34.56 kB / 440.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.011e-06/0.2423, allocations: 0 / 440.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001255/0.2436, allocations: 411.2 kB / 440.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.2436, allocations: 55.34 kB / 440.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000269/0.2439, allocations: 241 kB / 441 MB, free: 13.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.2439, allocations: 33.7 kB / 441 MB, free: 13.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.244, allocations: 192.4 kB / 441.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.982e-05/0.2441, allocations: 75.36 kB / 441.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.711e-05/0.2442, allocations: 45.94 kB / 441.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.2443, allocations: 330.8 kB / 441.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.2445, allocations: 76.44 kB / 441.7 MB, free: 13.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.2447, allocations: 111.4 kB / 441.8 MB, free: 12.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003923/0.2451, allocations: 182.5 kB / 442 MB, free: 12.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.2451, allocations: 4 kB / 442 MB, free: 12.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000666/0.2458, allocations: 318.8 kB / 442.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.2458, allocations: 7.938 kB / 442.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.2458, allocations: 3.984 kB / 442.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000276/0.2461, allocations: 81.72 kB / 442.4 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.2463, allocations: 35.92 kB / 442.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002472/0.2488, allocations: 2.779 MB / 445.2 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.249, allocations: 31.98 kB / 445.3 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.249, allocations: 8 kB / 445.3 MB, free: 9.273 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.0001506/0.2491, allocations: 138 kB / 445.4 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.856e-05/0.2492, allocations: 23.86 kB / 445.4 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.335e-05/0.2493, allocations: 34.22 kB / 445.5 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.2493, allocations: 3.984 kB / 445.5 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.978e-06/0.2493, allocations: 4.188 kB / 445.5 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2493, allocations: 0 / 445.5 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.2503, allocations: 0.5808 MB / 446.1 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.2503, allocations: 0 / 446.1 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.2504, allocations: 23.98 kB / 446.1 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002146/0.2506, allocations: 85.55 kB / 446.2 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.2507, allocations: 0 / 446.2 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002386/0.253, allocations: 2.783 MB / 449 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.253, allocations: 8 kB / 449 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006408/0.2537, allocations: 365.5 kB / 449.3 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-05/0.2537, allocations: 27.84 kB / 449.3 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.2538, allocations: 0 / 449.3 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002668/0.254, allocations: 39.86 kB / 449.4 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.177e-05/0.2541, allocations: 23.95 kB / 449.4 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.2541, allocations: 4 kB / 449.4 MB, free: 4.855 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001745/0.2543, allocations: 180.5 kB / 449.6 MB, free: 4.684 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2543, allocations: 0 / 449.6 MB, free: 4.684 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000415/0.2547, allocations: 95.78 kB / 449.7 MB, free: 4.59 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.0001401/0.2548, allocations: 111.2 kB / 449.8 MB, free: 4.473 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007802/0.2556, allocations: 438.7 kB / 450.2 MB, free: 4.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2556, allocations: 0 / 450.2 MB, free: 4.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004445/0.2561, allocations: 341.3 kB / 450.5 MB, free: 3.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.2564, allocations: 36.61 kB / 450.6 MB, free: 3.625 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009043/0.2573, allocations: 0.5299 MB / 451.1 MB, free: 3.066 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001546/0.2575, allocations: 155.5 kB / 451.3 MB, free: 2.891 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.537e-05/0.2575, allocations: 23.44 kB / 451.3 MB, free: 2.867 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2575, allocations: 4 kB / 451.3 MB, free: 2.863 MB / 350.1 MB Notification: Performance of Templates: time 0.007882/0.2654, allocations: 5.622 MB / 456.9 MB, free: 13.25 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.870307242003037]