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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001527/0.001527, allocations: 181.2 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.4 MB / 223.1 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008436/0.0008436, allocations: 96.53 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.0003324, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2857, allocations: 47.57 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09369/0.3794, allocations: 77.45 MB / 453.3 MB, free: 3.215 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/0.3797, allocations: 67.97 kB / 453.3 MB, free: 3.148 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01327/0.393, allocations: 4.945 MB / 458.3 MB, free: 14.19 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.393, allocations: 0 / 458.3 MB, free: 14.19 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.852e-05/0.3931, allocations: 8 kB / 458.3 MB, free: 14.18 MB / 346.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.0008614/0.3939, allocations: 0.5923 MB / 458.9 MB, free: 13.54 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.394, allocations: 12.03 kB / 458.9 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.808e-05/0.3941, allocations: 31.62 kB / 458.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.3944, allocations: 274.7 kB / 459.2 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.3944, allocations: 24.5 kB / 459.2 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.755e-05/0.3945, allocations: 27.95 kB / 459.2 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005092/0.395, allocations: 268.8 kB / 459.5 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.395, allocations: 0 / 459.5 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.3951, allocations: 8 kB / 459.5 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.3951, allocations: 11.94 kB / 459.5 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004637/0.3955, allocations: 234.1 kB / 459.7 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.3972, allocations: 0.9963 MB / 460.7 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004349/0.3976, allocations: 227.3 kB / 461 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.3976, allocations: 4.188 kB / 461 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.3977, allocations: 34.75 kB / 461 MB, free: 11.27 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.242e-06/0.3977, allocations: 0 / 461 MB, free: 11.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.001201/0.3989, allocations: 0.59 MB / 461.6 MB, free: 10.64 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.3989, allocations: 51.41 kB / 461.6 MB, free: 10.58 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.3992, allocations: 237.7 kB / 461.9 MB, free: 10.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.3992, allocations: 29.7 kB / 461.9 MB, free: 10.31 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.3993, allocations: 183.9 kB / 462.1 MB, free: 10.12 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.705e-05/0.3994, allocations: 63.02 kB / 462.1 MB, free: 10.06 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.128e-05/0.3994, allocations: 4 kB / 462.1 MB, free: 10.06 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3995, allocations: 342.8 kB / 462.5 MB, free: 9.715 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.3997, allocations: 76.42 kB / 462.6 MB, free: 9.637 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.4, allocations: 123.4 kB / 462.7 MB, free: 9.508 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.4002, allocations: 94.31 kB / 462.8 MB, free: 9.418 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4002, allocations: 0 / 462.8 MB, free: 9.418 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000615/0.4008, allocations: 338.7 kB / 463.1 MB, free: 9.074 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.4008, allocations: 4.062 kB / 463.1 MB, free: 9.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.4008, allocations: 8 kB / 463.1 MB, free: 9.062 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002549/0.4011, allocations: 73.67 kB / 463.2 MB, free: 8.984 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.4013, allocations: 43.91 kB / 463.2 MB, free: 8.941 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002308/0.4036, allocations: 2.854 MB / 466.1 MB, free: 5.812 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.4038, allocations: 27.86 kB / 466.1 MB, free: 5.785 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.4039, allocations: 12 kB / 466.1 MB, free: 5.773 MB / 346.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.0001545/0.404, allocations: 145.8 kB / 466.3 MB, free: 5.621 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.383e-05/0.4041, allocations: 31.61 kB / 466.3 MB, free: 5.59 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.838e-05/0.4041, allocations: 22.19 kB / 466.3 MB, free: 5.566 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.4042, allocations: 4 kB / 466.3 MB, free: 5.562 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.4042, allocations: 4 kB / 466.3 MB, free: 5.559 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.4042, allocations: 3.984 kB / 466.3 MB, free: 5.555 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003456/0.4045, allocations: 329.4 kB / 466.6 MB, free: 5.184 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.4045, allocations: 7.953 kB / 466.7 MB, free: 5.176 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.4047, allocations: 39.86 kB / 466.7 MB, free: 5.137 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001884/0.4049, allocations: 73.92 kB / 466.8 MB, free: 5.059 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.4049, allocations: 4 kB / 466.8 MB, free: 5.055 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002099/0.407, allocations: 2.859 MB / 469.6 MB, free: 1.938 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.407, allocations: 0 / 469.6 MB, free: 1.938 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006109/0.4077, allocations: 396.8 kB / 470 MB, free: 1.527 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.984e-05/0.4077, allocations: 104.8 kB / 470.1 MB, free: 1.406 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.4078, allocations: 4 kB / 470.1 MB, free: 1.402 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002481/0.408, allocations: 35.97 kB / 470.2 MB, free: 1.367 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.881e-05/0.4081, allocations: 23.98 kB / 470.2 MB, free: 1.344 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.4081, allocations: 11.92 kB / 470.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001612/0.4083, allocations: 182 kB / 470.4 MB, free: 1.156 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4083, allocations: 0 / 470.4 MB, free: 1.156 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000367/0.4087, allocations: 91.84 kB / 470.5 MB, free: 1.066 MB / 346.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.0001311/0.4088, allocations: 103.2 kB / 470.6 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007466/0.4096, allocations: 469.6 kB / 471 MB, free: 480 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4096, allocations: 0 / 471 MB, free: 480 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004127/0.41, allocations: 366 kB / 471.4 MB, free: 88 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.4103, allocations: 53.23 kB / 471.4 MB, free: 36 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000841/0.4112, allocations: 0.5873 MB / 472 MB, free: 15.42 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.4115, allocations: 0.7755 MB / 472.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001111/0.4116, allocations: 18.3 kB / 472.8 MB, free: 14.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.194e-05/0.4117, allocations: 19.44 kB / 472.8 MB, free: 14.58 MB / 362.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4117, allocations: 0 / 472.8 MB, free: 14.58 MB / 362.7 MB Notification: Performance of Templates: time 0.006705/0.4184, allocations: 3.295 MB / 476.1 MB, free: 11.32 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) 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","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches