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.001076/0.001076, allocations: 178.4 kB / 18.04 MB, free: 3.66 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.475/1.475, allocations: 205.4 MB / 224.2 MB, free: 8.93 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.0008688/0.0008688, allocations: 89.72 kB / 272.5 MB, free: 8.23 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003322/0.0003324, allocations: 12 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2542, allocations: 47.56 MB / 377 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09085/0.3452, allocations: 77.5 MB / 454.5 MB, free: 3.039 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003671/0.3456, allocations: 71.91 kB / 454.6 MB, free: 2.969 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01375/0.3594, allocations: 4.949 MB / 459.5 MB, free: 14 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3595, allocations: 0 / 459.5 MB, free: 14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.994e-05/0.3595, allocations: 7.984 kB / 459.5 MB, free: 14 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.0008654/0.3604, allocations: 0.5847 MB / 460.1 MB, free: 13.36 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.3604, allocations: 12.03 kB / 460.1 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.067e-05/0.3605, allocations: 32.56 kB / 460.2 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003208/0.3608, allocations: 287.6 kB / 460.5 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.3609, allocations: 24.94 kB / 460.5 MB, free: 12.97 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/0.3609, allocations: 24.38 kB / 460.5 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005502/0.3615, allocations: 261.4 kB / 460.8 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3615, allocations: 192 / 460.8 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.662e-05/0.3615, allocations: 15.94 kB / 460.8 MB, free: 12.67 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.455e-06/0.3615, allocations: 11.94 kB / 460.8 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004809/0.362, allocations: 234.1 kB / 461 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/0.3637, allocations: 1 MB / 462 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004619/0.3642, allocations: 225.8 kB / 462.2 MB, free: 11.13 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002767/0.3645, allocations: 128.8 kB / 462.4 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.3645, allocations: 4 kB / 462.4 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.3645, allocations: 34.56 kB / 462.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 2.144e-06/0.3645, allocations: 0 / 462.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.001366/0.3659, allocations: 0.5871 MB / 463 MB, free: 10.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.366, allocations: 59.34 kB / 463 MB, free: 10.25 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/0.3662, allocations: 254.6 kB / 463.3 MB, free: 9.996 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.3663, allocations: 37.7 kB / 463.3 MB, free: 9.953 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.3664, allocations: 179.9 kB / 463.5 MB, free: 9.773 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.947e-05/0.3665, allocations: 74.91 kB / 463.6 MB, free: 9.699 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.063e-05/0.3665, allocations: 4 kB / 463.6 MB, free: 9.695 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.3666, allocations: 326.8 kB / 463.9 MB, free: 9.367 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/0.3668, allocations: 92.36 kB / 464 MB, free: 9.273 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.367, allocations: 115.4 kB / 464.1 MB, free: 9.152 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000396/0.3674, allocations: 208.7 kB / 464.3 MB, free: 8.941 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3674, allocations: 0 / 464.3 MB, free: 8.941 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006232/0.3681, allocations: 330.8 kB / 464.6 MB, free: 8.605 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.3681, allocations: 7.938 kB / 464.6 MB, free: 8.598 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.3681, allocations: 8.062 kB / 464.6 MB, free: 8.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002779/0.3684, allocations: 69.66 kB / 464.7 MB, free: 8.516 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.3686, allocations: 43.92 kB / 464.8 MB, free: 8.473 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002317/0.3709, allocations: 2.831 MB / 467.6 MB, free: 5.367 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/0.3712, allocations: 31.77 kB / 467.6 MB, free: 5.336 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.3712, allocations: 4.062 kB / 467.6 MB, free: 5.332 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.0001889/0.3714, allocations: 141.8 kB / 467.8 MB, free: 5.184 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.699e-05/0.3715, allocations: 27.72 kB / 467.8 MB, free: 5.156 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.541e-05/0.3715, allocations: 30.17 kB / 467.8 MB, free: 5.133 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.3715, allocations: 4 kB / 467.8 MB, free: 5.129 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.3715, allocations: 0 / 467.8 MB, free: 5.129 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.3716, allocations: 3.938 kB / 467.8 MB, free: 5.125 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.3726, allocations: 0.6988 MB / 468.5 MB, free: 4.363 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.3726, allocations: 0 / 468.5 MB, free: 4.363 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/0.3728, allocations: 31.92 kB / 468.6 MB, free: 4.332 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002067/0.373, allocations: 81.84 kB / 468.6 MB, free: 4.246 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.373, allocations: 3.938 kB / 468.6 MB, free: 4.242 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002084/0.3751, allocations: 2.831 MB / 471.5 MB, free: 1.148 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3751, allocations: 0 / 471.5 MB, free: 1.148 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006348/0.3758, allocations: 405.5 kB / 471.9 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.393e-05/0.3759, allocations: 108.7 kB / 472 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.3759, allocations: 4 kB / 472 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.3762, allocations: 40.69 kB / 472 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.429e-05/0.3762, allocations: 15.98 kB / 472 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.3763, allocations: 11.98 kB / 472 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001744/0.3764, allocations: 185.9 kB / 472.2 MB, free: 364 kB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3764, allocations: 0 / 472.2 MB, free: 364 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004278/0.3769, allocations: 91.84 kB / 472.3 MB, free: 272 kB / 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.0001385/0.377, allocations: 103.2 kB / 472.4 MB, free: 160 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008178/0.3779, allocations: 465.6 kB / 472.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3779, allocations: 0 / 472.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004136/0.3783, allocations: 357.2 kB / 473.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004429/0.3787, allocations: 56.41 kB / 473.3 MB, free: 15.24 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009005/0.3797, allocations: 0.5862 MB / 473.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.38, allocations: 0.7755 MB / 474.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001331/0.3801, allocations: 18.3 kB / 474.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.76e-05/0.3802, allocations: 19.44 kB / 474.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.3802, allocations: 0 / 474.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of Templates: time 0.006947/0.3871, allocations: 3.345 MB / 478 MB, free: 10.46 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/jenkins1/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