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.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.00165/0.00165, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00301/0.004659, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.001266/0.001266, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001696/0.002962, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.139/1.139, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1782/1.317, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] 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.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_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: Performance of FrontEnd - loaded program: time 2.795e-06/2.795e-06, allocations: 0 / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.982e-05/4.261e-05, allocations: 6.25 kB / 222 MB, free: 56 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.003748/0.00379, allocations: 2.989 MB / 225 MB, free: 13.04 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.005229, allocations: 0.7369 MB / 225.7 MB, free: 12.29 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002025/0.005432, allocations: 11.94 kB / 225.7 MB, free: 12.28 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001302/0.005562, allocations: 51.44 kB / 225.8 MB, free: 12.23 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002038/0.005766, allocations: 111 kB / 225.9 MB, free: 12.12 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.006014, allocations: 99.72 kB / 226 MB, free: 12.02 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004789/0.006493, allocations: 425.9 kB / 226.4 MB, free: 11.61 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002115/0.006704, allocations: 78.27 kB / 226.5 MB, free: 11.53 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004088/0.007113, allocations: 256.1 kB / 226.7 MB, free: 11.28 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.007296, allocations: 127.7 kB / 226.9 MB, free: 11.16 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.556e-05/0.007351, allocations: 32 kB / 226.9 MB, free: 11.12 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.275e-05/0.007394, allocations: 32 kB / 226.9 MB, free: 11.09 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.987e-05/0.007444, allocations: 55.81 kB / 227 MB, free: 11.04 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.00755, allocations: 99.81 kB / 227.1 MB, free: 10.94 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003007/0.007851, allocations: 243.1 kB / 227.3 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.596e-05/0.007867, allocations: 0 / 227.3 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.007869, allocations: 3.938 kB / 227.3 MB, free: 10.7 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.777e-05/0.007886, allocations: 0 / 227.3 MB, free: 10.7 MB / 234.7 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.0008191/0.008705, allocations: 0.605 MB / 227.9 MB, free: 10.07 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.00875, allocations: 8.031 kB / 227.9 MB, free: 10.06 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.353e-05/0.008833, allocations: 48.89 kB / 228 MB, free: 10.02 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.009117, allocations: 193.2 kB / 228.2 MB, free: 9.801 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.009137, allocations: 25.03 kB / 228.2 MB, free: 9.777 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.485e-05/0.009172, allocations: 28.38 kB / 228.2 MB, free: 9.75 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003972/0.009569, allocations: 345.5 kB / 228.6 MB, free: 9.367 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.009582, allocations: 192 / 228.6 MB, free: 9.367 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/0.009605, allocations: 12.38 kB / 228.6 MB, free: 9.355 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.009619, allocations: 11.94 kB / 228.6 MB, free: 9.344 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.009725, allocations: 72.55 kB / 228.6 MB, free: 9.273 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.01074, allocations: 0.6543 MB / 229.3 MB, free: 8.586 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.01101, allocations: 154.7 kB / 229.5 MB, free: 8.426 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.474e-05/0.01106, allocations: 46.91 kB / 229.5 MB, free: 8.379 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.01108, allocations: 4 kB / 229.5 MB, free: 8.375 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.01112, allocations: 42.5 kB / 229.5 MB, free: 8.324 MB / 234.7 MB Notification: Performance of pre-optimization done (n=21): time 1.663e-06/0.01112, allocations: 0 / 229.5 MB, free: 8.324 MB / 234.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005661/0.01168, allocations: 259.5 kB / 229.8 MB, free: 8.059 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.01172, allocations: 55.41 kB / 229.8 MB, free: 7.992 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.01188, allocations: 221 kB / 230.1 MB, free: 7.766 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.0119, allocations: 33.7 kB / 230.1 MB, free: 7.727 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.574e-05/0.01199, allocations: 172.4 kB / 230.3 MB, free: 7.555 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.084e-05/0.01203, allocations: 71.38 kB / 230.3 MB, free: 7.484 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-05/0.01209, allocations: 49.88 kB / 230.4 MB, free: 7.43 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.01219, allocations: 338.8 kB / 230.7 MB, free: 7.09 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.676e-05/0.01223, allocations: 28.39 kB / 230.7 MB, free: 7.062 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.219e-05/0.01228, allocations: 47.48 kB / 230.8 MB, free: 7.008 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.0124, allocations: 98.38 kB / 230.9 MB, free: 6.902 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.01241, allocations: 0 / 230.9 MB, free: 6.902 MB / 234.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002462/0.01265, allocations: 187 kB / 231.1 MB, free: 6.707 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.01267, allocations: 8 kB / 231.1 MB, free: 6.699 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.01268, allocations: 0 / 231.1 MB, free: 6.699 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002617/0.01294, allocations: 81.69 kB / 231.2 MB, free: 6.613 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.01305, allocations: 39.97 kB / 231.2 MB, free: 6.574 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001556/0.01461, allocations: 2.498 MB / 233.7 MB, free: 3.898 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.304e-05/0.0147, allocations: 19.83 kB / 233.7 MB, free: 3.879 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.01472, allocations: 7.984 kB / 233.7 MB, free: 3.871 MB / 234.7 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.0001046/0.01482, allocations: 125.8 kB / 233.8 MB, free: 3.738 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.732e-05/0.01486, allocations: 23.98 kB / 233.9 MB, free: 3.715 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.905e-05/0.01489, allocations: 26.27 kB / 233.9 MB, free: 3.695 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01489, allocations: 4 kB / 233.9 MB, free: 3.691 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.0149, allocations: 3.938 kB / 233.9 MB, free: 3.688 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.01491, allocations: 4.031 kB / 233.9 MB, free: 3.684 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004589/0.01537, allocations: 388.5 kB / 234.3 MB, free: 3.27 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.01537, allocations: 0 / 234.3 MB, free: 3.27 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.355e-05/0.01544, allocations: 27.98 kB / 234.3 MB, free: 3.242 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.147e-05/0.01547, allocations: 31.77 kB / 234.3 MB, free: 3.211 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001834/0.01566, allocations: 81.66 kB / 234.4 MB, free: 3.125 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.01567, allocations: 4 kB / 234.4 MB, free: 3.121 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001266/0.01693, allocations: 2.478 MB / 236.9 MB, free: 476 kB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01693, allocations: 0 / 236.9 MB, free: 476 kB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.01717, allocations: 261.5 kB / 237.2 MB, free: 192 kB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.01719, allocations: 12.05 kB / 237.2 MB, free: 180 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.0173, allocations: 31.92 kB / 237.2 MB, free: 148 kB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.863e-05/0.01737, allocations: 23.89 kB / 237.2 MB, free: 124 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.01738, allocations: 4 kB / 237.2 MB, free: 120 kB / 234.7 MB Notification: Performance of sorting global known variables: time 6.533e-05/0.01744, allocations: 74.78 kB / 237.3 MB, free: 44 kB / 234.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01744, allocations: 0 / 237.3 MB, free: 44 kB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002819/0.01773, allocations: 99.83 kB / 237.4 MB, free: 15.94 MB / 250.7 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.0001334/0.01786, allocations: 88.36 kB / 237.5 MB, free: 15.85 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004276/0.01829, allocations: 352.7 kB / 237.8 MB, free: 15.48 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-05/0.0183, allocations: 4 kB / 237.8 MB, free: 15.48 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002564/0.01856, allocations: 322.4 kB / 238.1 MB, free: 15.13 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/0.01899, allocations: 418.5 kB / 238.6 MB, free: 14.64 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003004/0.02199, allocations: 0.4975 MB / 239.1 MB, free: 14.11 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.332e-05/0.02207, allocations: 92.06 kB / 239.1 MB, free: 14 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.91e-05/0.02216, allocations: 21.95 kB / 239.2 MB, free: 13.98 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.02231, allocations: 95.34 kB / 239.3 MB, free: 13.89 MB / 250.7 MB Notification: Performance of SimCode: time 1.012e-06/0.02231, allocations: 0 / 239.3 MB, free: 13.89 MB / 250.7 MB Notification: Performance of Templates: time 0.006883/0.02919, allocations: 3.956 MB / 243.2 MB, free: 9.949 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.959455043077469]