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.001807/0.001807, allocations: 111.1 kB / 20.44 MB, free: 1.332 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.002201/0.002201, allocations: 207.1 kB / 23.73 MB, free: 4.512 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.485/1.485, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.002666/0.002666, allocations: 47.92 kB / 378.2 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3196, allocations: 53.36 MB / 431.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004429/0.324, allocations: 2.801 MB / 434.4 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.3254, allocations: 0.7244 MB / 435.1 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.3256, allocations: 7.938 kB / 435.1 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.3257, allocations: 63.42 kB / 435.2 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001741/0.3259, allocations: 95.12 kB / 435.3 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.3262, allocations: 107.8 kB / 435.4 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004296/0.3267, allocations: 414.2 kB / 435.8 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.3269, allocations: 74.11 kB / 435.9 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002576/0.3271, allocations: 159.4 kB / 436 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001951/0.3273, allocations: 139.3 kB / 436.1 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.385e-05/0.3274, allocations: 32 kB / 436.2 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.3275, allocations: 44 kB / 436.2 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.072e-05/0.3275, allocations: 71.75 kB / 436.3 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.3277, allocations: 147.3 kB / 436.4 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004836/0.3282, allocations: 406 kB / 436.8 MB, free: 1.457 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.3282, allocations: 4 kB / 436.8 MB, free: 1.453 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3282, allocations: 0 / 436.8 MB, free: 1.453 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.3282, allocations: 4 kB / 436.8 MB, free: 1.449 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.001068/0.3293, allocations: 0.5559 MB / 437.4 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3293, allocations: 12.03 kB / 437.4 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002231/0.3295, allocations: 48.69 kB / 437.5 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004058/0.3299, allocations: 233.8 kB / 437.7 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.33, allocations: 17.03 kB / 437.7 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.043e-05/0.33, allocations: 28.38 kB / 437.7 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006088/0.3306, allocations: 412.6 kB / 438.1 MB, free: 64 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.3306, allocations: 7.984 kB / 438.1 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.928e-05/0.3307, allocations: 12 kB / 438.1 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.3307, allocations: 8 kB / 438.2 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005198/0.3312, allocations: 210.6 kB / 438.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/0.3329, allocations: 0.8211 MB / 439.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005237/0.3334, allocations: 206.4 kB / 439.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/0.3336, allocations: 100.8 kB / 439.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.3336, allocations: 4 kB / 439.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.3337, allocations: 34.5 kB / 439.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.523e-06/0.3337, allocations: 0 / 439.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001272/0.335, allocations: 414.5 kB / 439.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.335, allocations: 63.28 kB / 440 MB, free: 14.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/0.3353, allocations: 241 kB / 440.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.3353, allocations: 33.7 kB / 440.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.3355, allocations: 196.4 kB / 440.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.804e-05/0.3355, allocations: 67.39 kB / 440.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.477e-05/0.3356, allocations: 45.94 kB / 440.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.3358, allocations: 334.8 kB / 440.9 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.336, allocations: 76.42 kB / 441 MB, free: 13.1 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.3362, allocations: 107.5 kB / 441.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003972/0.3366, allocations: 186.5 kB / 441.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3366, allocations: 0 / 441.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006537/0.3372, allocations: 319 kB / 441.6 MB, free: 12.47 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.3373, allocations: 11.94 kB / 441.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3373, allocations: 0 / 441.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002814/0.3375, allocations: 73.67 kB / 441.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.3377, allocations: 39.91 kB / 441.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002519/0.3403, allocations: 2.787 MB / 444.5 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.3405, allocations: 27.84 kB / 444.5 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.3405, allocations: 8 kB / 444.5 MB, free: 9.316 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.000164/0.3406, allocations: 142.2 kB / 444.6 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.195e-05/0.3407, allocations: 23.86 kB / 444.7 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.631e-05/0.3407, allocations: 34.2 kB / 444.7 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3407, allocations: 4 kB / 444.7 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3408, allocations: 0 / 444.7 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3408, allocations: 0 / 444.7 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009987/0.3418, allocations: 0.5817 MB / 445.3 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.3418, allocations: 0 / 445.3 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.3419, allocations: 23.98 kB / 445.3 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001944/0.3421, allocations: 81.53 kB / 445.4 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.3421, allocations: 4 kB / 445.4 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002373/0.3445, allocations: 2.78 MB / 448.2 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3445, allocations: 0 / 448.2 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006418/0.3451, allocations: 377.6 kB / 448.5 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.414e-05/0.3452, allocations: 27.84 kB / 448.6 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.3452, allocations: 0 / 448.6 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.3454, allocations: 35.91 kB / 448.6 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.3455, allocations: 19.91 kB / 448.6 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.3455, allocations: 8 kB / 448.6 MB, free: 4.898 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001675/0.3457, allocations: 180.5 kB / 448.8 MB, free: 4.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3457, allocations: 3.938 kB / 448.8 MB, free: 4.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003966/0.3461, allocations: 99.78 kB / 448.9 MB, free: 4.625 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.0001431/0.3462, allocations: 107.2 kB / 449 MB, free: 4.512 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.3473, allocations: 434.2 kB / 449.4 MB, free: 4.062 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3473, allocations: 0 / 449.4 MB, free: 4.062 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004907/0.3478, allocations: 337.2 kB / 449.8 MB, free: 3.707 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.3481, allocations: 36.55 kB / 449.8 MB, free: 3.672 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009482/0.3491, allocations: 0.4976 MB / 450.3 MB, free: 3.156 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/0.3492, allocations: 159.5 kB / 450.5 MB, free: 2.977 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.3493, allocations: 25.94 kB / 450.5 MB, free: 2.949 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.873e-05/0.3494, allocations: 15.44 kB / 450.5 MB, free: 2.934 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3494, allocations: 0 / 450.5 MB, free: 2.934 MB / 350.1 MB Notification: Performance of Templates: time 0.008507/0.3579, allocations: 3.905 MB / 454.4 MB, free: 15.09 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.csv","/var/lib/jenkins/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.777994956821203]