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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001023/0.001023, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.172/1.172, allocations: 227.2 MB / 245 MB, free: 7.609 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008946/0.0008946, allocations: 97.28 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002109/0.0002109, allocations: 8 kB / 357.9 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1792, allocations: 51.48 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08535/0.2646, allocations: 79.63 MB / 489 MB, free: 10.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001878/0.2648, allocations: 69 kB / 489.1 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01303/0.2779, allocations: 5.25 MB / 494.4 MB, free: 5.652 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.2779, allocations: 0 / 494.4 MB, free: 5.652 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.015e-05/0.2779, allocations: 12 kB / 494.4 MB, free: 5.641 MB / 362.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.0008643/0.2788, allocations: 0.5923 MB / 495 MB, free: 4.996 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.2788, allocations: 12.03 kB / 495 MB, free: 4.984 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.279, allocations: 51.61 kB / 495 MB, free: 4.934 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003126/0.2793, allocations: 274.7 kB / 495.3 MB, free: 4.625 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.2794, allocations: 20.56 kB / 495.3 MB, free: 4.605 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.648e-05/0.2794, allocations: 31.94 kB / 495.3 MB, free: 4.574 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005056/0.2799, allocations: 260.9 kB / 495.6 MB, free: 4.312 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2799, allocations: 0 / 495.6 MB, free: 4.312 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.28, allocations: 12 kB / 495.6 MB, free: 4.301 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.28, allocations: 8 kB / 495.6 MB, free: 4.293 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004733/0.2805, allocations: 230.1 kB / 495.8 MB, free: 4.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.282, allocations: 0.9953 MB / 496.8 MB, free: 3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004506/0.2825, allocations: 219.3 kB / 497 MB, free: 2.777 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.2825, allocations: 8.188 kB / 497.1 MB, free: 2.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.2825, allocations: 30.75 kB / 497.1 MB, free: 2.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 1.502e-06/0.2826, allocations: 0 / 497.1 MB, free: 2.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.001207/0.2838, allocations: 0.593 MB / 497.7 MB, free: 2.094 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.2838, allocations: 51.41 kB / 497.7 MB, free: 2.031 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.284, allocations: 237.7 kB / 498 MB, free: 1.797 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.2841, allocations: 33.64 kB / 498 MB, free: 1.758 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.215e-05/0.2842, allocations: 183.9 kB / 498.2 MB, free: 1.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.126e-05/0.2842, allocations: 67.02 kB / 498.2 MB, free: 1.504 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.278e-06/0.2842, allocations: 0 / 498.2 MB, free: 1.504 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.2844, allocations: 342.8 kB / 498.6 MB, free: 1.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.2846, allocations: 84.42 kB / 498.7 MB, free: 1.074 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.2848, allocations: 119.4 kB / 498.8 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.285, allocations: 95.91 kB / 498.9 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.285, allocations: 0 / 498.9 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006182/0.2856, allocations: 338.7 kB / 499.2 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.2856, allocations: 4 kB / 499.2 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.2856, allocations: 4 kB / 499.2 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002449/0.2859, allocations: 73.73 kB / 499.3 MB, free: 436 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.2861, allocations: 47.91 kB / 499.3 MB, free: 388 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002089/0.2882, allocations: 2.85 MB / 0.4904 GB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.2884, allocations: 27.77 kB / 0.4904 GB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.2884, allocations: 15.94 kB / 0.4904 GB, free: 13.21 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001309/0.2886, allocations: 145.8 kB / 0.4906 GB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.303e-05/0.2886, allocations: 23.72 kB / 0.4906 GB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.779e-05/0.2887, allocations: 26.19 kB / 0.4906 GB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.2887, allocations: 4 kB / 0.4906 GB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.2887, allocations: 3.984 kB / 0.4906 GB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2887, allocations: 4.375 kB / 0.4906 GB, free: 13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003257/0.289, allocations: 329.4 kB / 0.491 GB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.2891, allocations: 7.953 kB / 0.491 GB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.2892, allocations: 35.92 kB / 0.491 GB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001804/0.2894, allocations: 73.67 kB / 0.4911 GB, free: 12.51 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.2894, allocations: 3.984 kB / 0.4911 GB, free: 12.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001964/0.2914, allocations: 2.847 MB / 0.4939 GB, free: 9.398 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2914, allocations: 0 / 0.4939 GB, free: 9.398 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005872/0.292, allocations: 395.8 kB / 0.4942 GB, free: 8.992 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.791e-05/0.2921, allocations: 112.8 kB / 0.4943 GB, free: 8.863 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.2921, allocations: 4 kB / 0.4943 GB, free: 8.859 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002546/0.2924, allocations: 31.97 kB / 0.4944 GB, free: 8.828 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.388e-05/0.2924, allocations: 23.97 kB / 0.4944 GB, free: 8.805 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.2925, allocations: 15.94 kB / 0.4944 GB, free: 8.789 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000155/0.2926, allocations: 185.9 kB / 0.4946 GB, free: 8.605 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2926, allocations: 0 / 0.4946 GB, free: 8.605 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003388/0.293, allocations: 95.75 kB / 0.4947 GB, free: 8.512 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001238/0.2931, allocations: 106.8 kB / 0.4948 GB, free: 8.402 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006896/0.2938, allocations: 457.2 kB / 0.4952 GB, free: 7.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2938, allocations: 4.125 kB / 0.4952 GB, free: 7.926 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004023/0.2942, allocations: 357.1 kB / 0.4956 GB, free: 7.551 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.2945, allocations: 54.7 kB / 0.4956 GB, free: 7.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000775/0.2953, allocations: 0.5912 MB / 0.4962 GB, free: 6.879 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.2956, allocations: 0.7755 MB / 0.4969 GB, free: 6.074 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001126/0.2957, allocations: 22.3 kB / 0.497 GB, free: 6.051 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.263e-05/0.2958, allocations: 15.44 kB / 0.497 GB, free: 6.035 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.2958, allocations: 0 / 0.497 GB, free: 6.035 MB / 378.7 MB Notification: Performance of Templates: time 0.006048/0.3018, allocations: 3.293 MB / 0.5002 GB, free: 2.785 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches