Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.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.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001908/0.001908, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.564/1.564, allocations: 226.7 MB / 245.5 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001265/0.001265, allocations: 113.4 kB / 296.7 MB, free: 6.457 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001577, allocations: 43.92 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3098, allocations: 50.47 MB / 407.1 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.00395/0.3138, allocations: 3.522 MB / 410.6 MB, free: 24.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.3152, allocations: 0.7983 MB / 411.4 MB, free: 23.47 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000192/0.3154, allocations: 4 kB / 411.4 MB, free: 23.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002209/0.3157, allocations: 51.59 kB / 411.4 MB, free: 23.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002189/0.3159, allocations: 115 kB / 411.5 MB, free: 23.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.3161, allocations: 107.8 kB / 411.6 MB, free: 23.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003491/0.3165, allocations: 497.7 kB / 412.1 MB, free: 22.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002201/0.3167, allocations: 115.9 kB / 412.2 MB, free: 22.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002295/0.317, allocations: 175.4 kB / 412.4 MB, free: 22.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.3172, allocations: 199 kB / 412.6 MB, free: 22.22 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.428e-05/0.3172, allocations: 24 kB / 412.6 MB, free: 22.2 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.459e-05/0.3173, allocations: 32 kB / 412.7 MB, free: 22.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.474e-05/0.3174, allocations: 67.69 kB / 412.7 MB, free: 22.1 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.3175, allocations: 210.9 kB / 412.9 MB, free: 21.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003124/0.3179, allocations: 474.2 kB / 413.4 MB, free: 21.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3179, allocations: 4 kB / 413.4 MB, free: 21.42 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3179, allocations: 0 / 413.4 MB, free: 21.42 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.3179, allocations: 0 / 413.4 MB, free: 21.42 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001095/0.319, allocations: 0.7207 MB / 414.1 MB, free: 20.65 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.009e-05/0.3191, allocations: 8.031 kB / 414.1 MB, free: 20.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003571/0.3194, allocations: 76.33 kB / 414.2 MB, free: 20.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.3198, allocations: 307.3 kB / 414.5 MB, free: 20.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.3198, allocations: 29.03 kB / 414.5 MB, free: 20.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.685e-05/0.3198, allocations: 28.38 kB / 414.6 MB, free: 20.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005135/0.3204, allocations: 359.1 kB / 414.9 MB, free: 19.81 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.3204, allocations: 4 kB / 414.9 MB, free: 19.81 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.3204, allocations: 8 kB / 414.9 MB, free: 19.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.3204, allocations: 11.94 kB / 414.9 MB, free: 19.79 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004715/0.3209, allocations: 270.5 kB / 415.2 MB, free: 19.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.3225, allocations: 1.415 MB / 416.6 MB, free: 18.01 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003573/0.3229, allocations: 230.3 kB / 416.8 MB, free: 17.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.3231, allocations: 108.8 kB / 417 MB, free: 17.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.3231, allocations: 4 kB / 417 MB, free: 17.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.3231, allocations: 34.56 kB / 417 MB, free: 17.62 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.864e-06/0.3231, allocations: 4 kB / 417 MB, free: 17.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.001332/0.3245, allocations: 0.6964 MB / 417.7 MB, free: 16.85 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.3245, allocations: 55.41 kB / 417.7 MB, free: 16.78 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.3248, allocations: 308.6 kB / 418 MB, free: 16.47 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.3248, allocations: 29.7 kB / 418.1 MB, free: 16.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.964e-05/0.3249, allocations: 212.1 kB / 418.3 MB, free: 16.22 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.87e-05/0.3249, allocations: 74.89 kB / 418.4 MB, free: 16.14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.476e-05/0.325, allocations: 49.7 kB / 418.4 MB, free: 16.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.77e-05/0.3251, allocations: 334.8 kB / 418.7 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.3252, allocations: 87.89 kB / 418.8 MB, free: 15.67 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.3254, allocations: 124.2 kB / 418.9 MB, free: 15.53 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003266/0.3258, allocations: 204.1 kB / 419.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3258, allocations: 0 / 419.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005919/0.3264, allocations: 355.4 kB / 419.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.3264, allocations: 8 kB / 419.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.3264, allocations: 0 / 419.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003798/0.3268, allocations: 122.6 kB / 419.6 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.327, allocations: 23.98 kB / 419.6 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002585/0.3296, allocations: 4.465 MB / 424.1 MB, free: 9.926 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.3298, allocations: 27.73 kB / 424.1 MB, free: 9.898 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.3298, allocations: 11.92 kB / 424.1 MB, free: 9.887 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (Ideal.off,With_Ron_Goff.off,With_Ron_Goff_Vknee.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001618/0.33, allocations: 155.8 kB / 424.3 MB, free: 9.727 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.436e-05/0.3301, allocations: 35.62 kB / 424.3 MB, free: 9.691 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.041e-05/0.3301, allocations: 35.17 kB / 424.4 MB, free: 9.656 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3302, allocations: 4 kB / 424.4 MB, free: 9.652 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3302, allocations: 4.156 kB / 424.4 MB, free: 9.648 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3302, allocations: 7.969 kB / 424.4 MB, free: 9.641 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003138/0.3305, allocations: 377.2 kB / 424.7 MB, free: 9.223 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.3305, allocations: 0 / 424.7 MB, free: 9.223 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.3306, allocations: 23.97 kB / 424.8 MB, free: 9.199 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002816/0.3309, allocations: 118.6 kB / 424.9 MB, free: 9.074 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.3309, allocations: 8 kB / 424.9 MB, free: 9.066 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002343/0.3333, allocations: 4.437 MB / 429.3 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3333, allocations: 4.031 kB / 429.3 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009023/0.3342, allocations: 1.091 MB / 430.4 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.3343, allocations: 120.6 kB / 430.5 MB, free: 2.934 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.3344, allocations: 11.94 kB / 430.6 MB, free: 2.922 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.3346, allocations: 23.98 kB / 430.6 MB, free: 2.898 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.764e-05/0.3347, allocations: 23.95 kB / 430.6 MB, free: 2.875 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.3347, allocations: 8 kB / 430.6 MB, free: 2.867 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001845/0.3349, allocations: 219 kB / 430.8 MB, free: 2.652 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3349, allocations: 0 / 430.8 MB, free: 2.652 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007368/0.3357, allocations: 119.7 kB / 430.9 MB, free: 2.535 MB / 298.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: 3 (Ideal.off,With_Ron_Goff.off,With_Ron_Goff_Vknee.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001803/0.3359, allocations: 107.2 kB / 431 MB, free: 2.422 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000816/0.3367, allocations: 0.5719 MB / 431.6 MB, free: 1.812 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3367, allocations: 0 / 431.6 MB, free: 1.812 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004019/0.3371, allocations: 476.1 kB / 432.1 MB, free: 1.309 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005567/0.3377, allocations: 53.06 kB / 432.1 MB, free: 1.258 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.3389, allocations: 0.9397 MB / 433.1 MB, free: 288 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.3393, allocations: 0.799 MB / 433.9 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000126/0.3395, allocations: 31 kB / 433.9 MB, free: 15.43 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.669e-05/0.3395, allocations: 15.44 kB / 433.9 MB, free: 15.41 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.3396, allocations: 4 kB / 433.9 MB, free: 15.41 MB / 314.7 MB Notification: Performance of Templates: time 0.009536/0.3491, allocations: 5.116 MB / 439 MB, free: 10.34 MB / 314.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches