Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.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.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001695/0.001695, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.578/1.578, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.000807/0.000807, allocations: 74.73 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.368e-05/2.372e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08319/0.08323, allocations: 47.57 MB / 370 MB, free: 1.715 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2932/0.3765, allocations: 77.3 MB / 447.3 MB, free: 15.96 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.3768, allocations: 67.06 kB / 447.4 MB, free: 15.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01637/0.3932, allocations: 6.335 MB / 453.7 MB, free: 10.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3932, allocations: 0 / 453.7 MB, free: 10.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.888e-05/0.3933, allocations: 12 kB / 453.7 MB, free: 10.51 MB / 330.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.0008182/0.3941, allocations: 0.6122 MB / 454.3 MB, free: 9.875 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.3941, allocations: 8.031 kB / 454.3 MB, free: 9.867 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.839e-05/0.3942, allocations: 47.44 kB / 454.4 MB, free: 9.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.3946, allocations: 300.8 kB / 454.7 MB, free: 9.516 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.3946, allocations: 22.97 kB / 454.7 MB, free: 9.504 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.881e-05/0.3947, allocations: 29.62 kB / 454.7 MB, free: 9.484 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004979/0.3952, allocations: 344.9 kB / 455.1 MB, free: 9.223 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3952, allocations: 0 / 455.1 MB, free: 9.223 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.999e-05/0.3952, allocations: 10.81 kB / 455.1 MB, free: 9.223 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-06/0.3952, allocations: 8 kB / 455.1 MB, free: 9.215 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003721/0.3956, allocations: 235.5 kB / 455.3 MB, free: 9.066 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001848/0.3975, allocations: 1.444 MB / 456.8 MB, free: 7.746 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.3978, allocations: 193.5 kB / 457 MB, free: 7.621 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.3979, allocations: 97.09 kB / 457.1 MB, free: 7.559 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.398, allocations: 4 kB / 457.1 MB, free: 7.555 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.398, allocations: 37.62 kB / 457.1 MB, free: 7.512 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.563e-06/0.398, allocations: 7.938 kB / 457.1 MB, free: 7.504 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004657/0.3985, allocations: 261.6 kB / 457.4 MB, free: 7.277 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.3985, allocations: 59.41 kB / 457.4 MB, free: 7.207 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.3988, allocations: 270.7 kB / 457.7 MB, free: 6.934 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.3989, allocations: 29.7 kB / 457.7 MB, free: 6.898 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.399, allocations: 204.2 kB / 457.9 MB, free: 6.695 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.447e-05/0.399, allocations: 82.83 kB / 458 MB, free: 6.613 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.191e-05/0.3991, allocations: 4 kB / 458 MB, free: 6.609 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.3992, allocations: 342.8 kB / 458.3 MB, free: 6.266 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.3993, allocations: 68.48 kB / 458.4 MB, free: 6.199 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.3995, allocations: 108.2 kB / 458.5 MB, free: 6.078 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.3996, allocations: 71.91 kB / 458.6 MB, free: 6.008 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3996, allocations: 4 kB / 458.6 MB, free: 6.004 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005963/0.4002, allocations: 331.5 kB / 458.9 MB, free: 5.664 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.4002, allocations: 4 kB / 458.9 MB, free: 5.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4003, allocations: 0 / 458.9 MB, free: 5.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003861/0.4006, allocations: 126.5 kB / 459 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.4008, allocations: 31.97 kB / 459.1 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00331/0.4042, allocations: 4.434 MB / 463.5 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/0.4044, allocations: 35.72 kB / 463.5 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-05/0.4044, allocations: 8 kB / 463.5 MB, free: 0.6133 MB / 330.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 8.883e-05/0.4045, allocations: 116.9 kB / 463.6 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.606e-05/0.4046, allocations: 31.62 kB / 463.7 MB, free: 472 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.287e-05/0.4047, allocations: 38.95 kB / 463.7 MB, free: 428 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.4047, allocations: 3.938 kB / 463.7 MB, free: 424 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.4047, allocations: 8.062 kB / 463.7 MB, free: 416 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.4047, allocations: 3.984 kB / 463.7 MB, free: 412 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004136/0.4051, allocations: 369.5 kB / 464.1 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.4051, allocations: 4.281 kB / 464.1 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.4052, allocations: 27.92 kB / 464.1 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003044/0.4056, allocations: 114.5 kB / 464.2 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.4056, allocations: 7.938 kB / 464.2 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003182/0.4088, allocations: 4.434 MB / 468.7 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4088, allocations: 0 / 468.7 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004561/0.4093, allocations: 377.7 kB / 469 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.4094, allocations: 120.7 kB / 469.2 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.4094, allocations: 11.94 kB / 469.2 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.4097, allocations: 23.98 kB / 469.2 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.63e-05/0.4098, allocations: 28.14 kB / 469.2 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.4098, allocations: 12 kB / 469.2 MB, free: 10.39 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002079/0.41, allocations: 218.2 kB / 469.5 MB, free: 10.18 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.41, allocations: 0 / 469.5 MB, free: 10.18 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005712/0.4106, allocations: 111.7 kB / 469.6 MB, free: 10.07 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: 3 (Ideal.off,With_Ron_Goff.off,With_Ron_Goff_Vknee.off) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.000128/0.4107, allocations: 103.2 kB / 469.7 MB, free: 9.961 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006731/0.4114, allocations: 0.5346 MB / 470.2 MB, free: 9.387 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.4114, allocations: 4 kB / 470.2 MB, free: 9.383 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004106/0.4118, allocations: 459.8 kB / 470.6 MB, free: 8.895 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.4121, allocations: 50.02 kB / 470.7 MB, free: 8.848 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007615/0.4129, allocations: 413.2 kB / 471.1 MB, free: 8.422 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.4133, allocations: 0.8106 MB / 471.9 MB, free: 7.582 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001051/0.4134, allocations: 23.06 kB / 471.9 MB, free: 7.559 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.006e-05/0.4134, allocations: 19.44 kB / 472 MB, free: 7.539 MB / 346.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4134, allocations: 0 / 472 MB, free: 7.539 MB / 346.7 MB Notification: Performance of Templates: time 0.008157/0.4216, allocations: 4.744 MB / 476.7 MB, free: 2.801 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches