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.001833/0.001833, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.00206/0.00206, allocations: 211.1 kB / 24.49 MB, free: 3.965 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.46/1.46, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.001566/0.001566, allocations: 55.91 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2199, allocations: 53.36 MB / 432.3 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004196/0.224, allocations: 2.793 MB / 435.1 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.2253, allocations: 0.7322 MB / 435.9 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.2255, allocations: 4 kB / 435.9 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001694/0.2256, allocations: 55.44 kB / 435.9 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001977/0.2258, allocations: 107 kB / 436 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000312/0.2262, allocations: 107.8 kB / 436.1 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004388/0.2266, allocations: 410.2 kB / 436.5 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.2268, allocations: 78.53 kB / 436.6 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002511/0.227, allocations: 151.5 kB / 436.8 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.2272, allocations: 175.2 kB / 436.9 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.405e-05/0.2273, allocations: 32 kB / 437 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.412e-05/0.2274, allocations: 40 kB / 437 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.707e-05/0.2274, allocations: 71.75 kB / 437.1 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.2276, allocations: 147.4 kB / 437.2 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004512/0.228, allocations: 398.3 kB / 437.6 MB, free: 1.613 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.228, allocations: 0 / 437.6 MB, free: 1.613 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2281, allocations: 0 / 437.6 MB, free: 1.613 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.2281, allocations: 0 / 437.6 MB, free: 1.613 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.00106/0.2291, allocations: 0.57 MB / 438.2 MB, free: 1.016 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.2292, allocations: 12.03 kB / 438.2 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001927/0.2293, allocations: 48.69 kB / 438.2 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003818/0.2297, allocations: 229.8 kB / 438.5 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.2298, allocations: 21.03 kB / 438.5 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.06e-05/0.2298, allocations: 24.38 kB / 438.5 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006401/0.2304, allocations: 420.6 kB / 438.9 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.2305, allocations: 0 / 438.9 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.331e-05/0.2305, allocations: 12 kB / 438.9 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.2305, allocations: 11.94 kB / 438.9 MB, free: 192 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000536/0.231, allocations: 214.6 kB / 439.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001677/0.2327, allocations: 0.8211 MB / 440 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000503/0.2332, allocations: 208.9 kB / 440.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/0.2334, allocations: 96.75 kB / 440.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.2335, allocations: 0 / 440.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.2335, allocations: 46.5 kB / 440.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.302e-06/0.2335, allocations: 0 / 440.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001275/0.2348, allocations: 403.2 kB / 440.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.2348, allocations: 59.34 kB / 440.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.2351, allocations: 241 kB / 441 MB, free: 14.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.2351, allocations: 29.7 kB / 441 MB, free: 13.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.2352, allocations: 196.4 kB / 441.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.931e-05/0.2353, allocations: 71.38 kB / 441.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.591e-05/0.2354, allocations: 45.94 kB / 441.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.2355, allocations: 330.8 kB / 441.7 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.2357, allocations: 80.42 kB / 441.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/0.236, allocations: 115.4 kB / 441.8 MB, free: 13.13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00042/0.2364, allocations: 182.5 kB / 442 MB, free: 12.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2364, allocations: 0 / 442 MB, free: 12.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006772/0.2371, allocations: 319 kB / 442.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.2371, allocations: 7.938 kB / 442.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.2371, allocations: 7.984 kB / 442.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002784/0.2374, allocations: 77.61 kB / 442.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.2376, allocations: 27.98 kB / 442.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002503/0.2401, allocations: 2.791 MB / 445.2 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.2402, allocations: 27.81 kB / 445.3 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.2403, allocations: 4 kB / 445.3 MB, free: 9.469 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.0001448/0.2404, allocations: 141.9 kB / 445.4 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.972e-05/0.2405, allocations: 27.86 kB / 445.4 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.901e-05/0.2405, allocations: 30.27 kB / 445.5 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.2405, allocations: 3.938 kB / 445.5 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.2405, allocations: 3.984 kB / 445.5 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.306e-05/0.2406, allocations: 23.86 kB / 445.5 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.149e-05/0.2406, allocations: 3.984 kB / 445.5 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002629/0.2409, allocations: 31.98 kB / 445.5 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.159e-05/0.2409, allocations: 23.95 kB / 445.6 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008357/0.2418, allocations: 361.3 kB / 445.9 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007214/0.2425, allocations: 478.3 kB / 446.4 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001789/0.2427, allocations: 65.45 kB / 446.4 MB, free: 8.266 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001702/0.2428, allocations: 176.5 kB / 446.6 MB, free: 8.098 MB / 350.1 MB Notification: Performance of Backend: time 3.41e-07/0.2428, allocations: 4 kB / 446.6 MB, free: 8.094 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009421/0.2438, allocations: 455.7 kB / 447.1 MB, free: 7.613 MB / 350.1 MB Notification: Performance of SimCode: time 0.001101/0.2449, allocations: 1.008 MB / 448.1 MB, free: 6.555 MB / 350.1 MB Notification: Performance of Templates: time 0.008742/0.2536, allocations: 4.367 MB / 452.4 MB, free: 2.242 MB / 350.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: 4.413617940997938]