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.0007068/0.0007068, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009248/0.001632, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007207/0.0007207, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008344/0.001555, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9286/0.9286, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08324/1.012, allocations: 53.86 MB / 243.7 MB, free: 14.92 MB / 250.7 MB " [Timeout remaining time 179] 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 1.442e-06/1.442e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.22e-05/2.364e-05, allocations: 6.25 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.00416/0.004184, allocations: 3.056 MB / 248.1 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004509/0.008692, allocations: 0.7708 MB / 248.9 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001814/0.008874, allocations: 11.94 kB / 248.9 MB, free: 9.777 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000113/0.008987, allocations: 63.41 kB / 248.9 MB, free: 9.715 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.00913, allocations: 103 kB / 249 MB, free: 9.613 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.009339, allocations: 103.8 kB / 249.1 MB, free: 9.512 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000275/0.009614, allocations: 429.9 kB / 249.6 MB, free: 9.09 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.009766, allocations: 90.75 kB / 249.6 MB, free: 9.004 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003146/0.01008, allocations: 256.1 kB / 249.9 MB, free: 8.754 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.0102, allocations: 123.7 kB / 250 MB, free: 8.633 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.502e-05/0.01023, allocations: 32 kB / 250 MB, free: 8.602 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.675e-05/0.01031, allocations: 36 kB / 250.1 MB, free: 8.566 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.409e-05/0.01034, allocations: 55.75 kB / 250.1 MB, free: 8.512 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.265e-05/0.01041, allocations: 103.8 kB / 250.2 MB, free: 8.41 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.01064, allocations: 243.1 kB / 250.5 MB, free: 8.172 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.458e-05/0.01066, allocations: 0 / 250.5 MB, free: 8.172 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01066, allocations: 4 kB / 250.5 MB, free: 8.168 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.509e-05/0.01067, allocations: 0 / 250.5 MB, free: 8.168 MB / 250.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.0006149/0.01129, allocations: 0.6049 MB / 251.1 MB, free: 7.539 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.749e-05/0.01131, allocations: 8.031 kB / 251.1 MB, free: 7.531 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.01147, allocations: 146 kB / 251.2 MB, free: 7.371 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.01166, allocations: 185.3 kB / 251.4 MB, free: 7.164 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.01168, allocations: 17.03 kB / 251.4 MB, free: 7.148 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.0117, allocations: 32.38 kB / 251.5 MB, free: 7.117 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/0.01194, allocations: 349.5 kB / 251.8 MB, free: 6.727 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.01195, allocations: 4.125 kB / 251.8 MB, free: 6.723 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.01197, allocations: 12.38 kB / 251.8 MB, free: 6.711 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.01198, allocations: 7.938 kB / 251.8 MB, free: 6.703 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.19e-05/0.01206, allocations: 68.56 kB / 251.9 MB, free: 6.637 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006922/0.01275, allocations: 0.6581 MB / 252.6 MB, free: 5.945 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.01294, allocations: 154.1 kB / 252.7 MB, free: 5.789 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.216e-05/0.01298, allocations: 48.78 kB / 252.8 MB, free: 5.738 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.013, allocations: 4 kB / 252.8 MB, free: 5.734 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.01302, allocations: 38.56 kB / 252.8 MB, free: 5.688 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.213e-06/0.01302, allocations: 0 / 252.8 MB, free: 5.688 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004029/0.01342, allocations: 258.3 kB / 253 MB, free: 5.426 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.175e-05/0.01344, allocations: 55.41 kB / 253.1 MB, free: 5.359 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.01355, allocations: 225 kB / 253.3 MB, free: 5.129 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.01357, allocations: 29.7 kB / 253.3 MB, free: 5.094 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.725e-05/0.01363, allocations: 177 kB / 253.5 MB, free: 4.914 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.284e-05/0.01367, allocations: 75.36 kB / 253.6 MB, free: 4.84 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.532e-05/0.01371, allocations: 49.91 kB / 253.6 MB, free: 4.781 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.824e-05/0.01378, allocations: 330.8 kB / 254 MB, free: 4.449 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.601e-05/0.01381, allocations: 20.47 kB / 254 MB, free: 4.43 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.443e-05/0.01385, allocations: 63.45 kB / 254 MB, free: 4.359 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.836e-05/0.01393, allocations: 94.98 kB / 254.1 MB, free: 4.258 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01393, allocations: 0 / 254.1 MB, free: 4.258 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001718/0.0141, allocations: 179.1 kB / 254.3 MB, free: 4.07 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.01411, allocations: 4 kB / 254.3 MB, free: 4.066 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.01412, allocations: 4 kB / 254.3 MB, free: 4.062 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001865/0.0143, allocations: 85.69 kB / 254.4 MB, free: 3.973 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.126e-05/0.01439, allocations: 39.92 kB / 254.4 MB, free: 3.934 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001095/0.01549, allocations: 2.495 MB / 256.9 MB, free: 1.262 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.01563, allocations: 23.84 kB / 257 MB, free: 1.238 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.01565, allocations: 4 kB / 257 MB, free: 1.234 MB / 250.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.0001143/0.01577, allocations: 117.8 kB / 257.1 MB, free: 1.109 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-05/0.01581, allocations: 32.02 kB / 257.1 MB, free: 1.078 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.042e-05/0.01584, allocations: 34.2 kB / 257.1 MB, free: 1.051 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.01584, allocations: 4.188 kB / 257.2 MB, free: 1.047 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.01585, allocations: 4 kB / 257.2 MB, free: 1.043 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.01586, allocations: 7.875 kB / 257.2 MB, free: 1.035 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000448/0.0163, allocations: 388.4 kB / 257.5 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.01631, allocations: 0 / 257.5 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.282e-05/0.01639, allocations: 31.92 kB / 257.6 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.796e-05/0.01642, allocations: 23.8 kB / 257.6 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001649/0.01658, allocations: 81.64 kB / 257.7 MB, free: 492 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.01659, allocations: 11.98 kB / 257.7 MB, free: 480 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001098/0.01769, allocations: 2.482 MB / 260.2 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.01769, allocations: 4.062 kB / 260.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.01788, allocations: 261.6 kB / 260.4 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.0179, allocations: 8.125 kB / 260.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.018, allocations: 27.98 kB / 260.5 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/0.01805, allocations: 27.89 kB / 260.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.01806, allocations: 8 kB / 260.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.314e-05/0.01811, allocations: 74.78 kB / 260.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01811, allocations: 0 / 260.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002311/0.01834, allocations: 95.84 kB / 260.7 MB, free: 13.29 MB / 266.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 8.778e-05/0.01843, allocations: 84.41 kB / 260.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003095/0.01874, allocations: 357.9 kB / 261.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/0.01875, allocations: 4 kB / 261.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.0189, allocations: 305.9 kB / 261.4 MB, free: 12.49 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.01912, allocations: 56.47 kB / 261.5 MB, free: 12.44 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002705/0.02182, allocations: 0.5036 MB / 262 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.011e-05/0.02188, allocations: 88.56 kB / 262 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.128e-05/0.02195, allocations: 21.95 kB / 262.1 MB, free: 11.78 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.02207, allocations: 99.34 kB / 262.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of SimCode: time 9.61e-07/0.02207, allocations: 0 / 262.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of Templates: time 0.005377/0.02744, allocations: 3.929 MB / 266.1 MB, free: 7.809 MB / 266.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.515907198190689]