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.001012/0.001012, allocations: 184.1 kB / 18.04 MB, free: 3.777 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.582/1.582, allocations: 205.4 MB / 224.2 MB, free: 9.008 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.0007809/0.0007807, allocations: 90.28 kB / 272.5 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003158/0.0003158, allocations: 12 kB / 329.4 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2527, allocations: 47.58 MB / 377 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1003/0.3531, allocations: 77.44 MB / 454.5 MB, free: 3.102 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/0.3534, allocations: 71.95 kB / 454.5 MB, free: 3.031 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01753/0.371, allocations: 6.325 MB / 460.9 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.371, allocations: 0 / 460.9 MB, free: 12.65 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.645e-05/0.371, allocations: 11.98 kB / 460.9 MB, free: 12.64 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001303/0.3723, allocations: 0.6507 MB / 461.5 MB, free: 11.94 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.3724, allocations: 12.03 kB / 461.5 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.3726, allocations: 48.38 kB / 461.6 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005356/0.3731, allocations: 315.7 kB / 461.9 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.3731, allocations: 24.97 kB / 461.9 MB, free: 11.51 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.041e-05/0.3732, allocations: 32.38 kB / 461.9 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006596/0.3739, allocations: 359.3 kB / 462.3 MB, free: 11.11 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.3739, allocations: 192 / 462.3 MB, free: 11.11 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.573e-05/0.3739, allocations: 23.94 kB / 462.3 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.374, allocations: 8 kB / 462.3 MB, free: 11.08 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005775/0.3745, allocations: 282.4 kB / 462.6 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002302/0.3769, allocations: 1.435 MB / 464 MB, free: 9.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004367/0.3773, allocations: 222.2 kB / 464.3 MB, free: 9.047 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002237/0.3776, allocations: 120.7 kB / 464.4 MB, free: 8.926 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.3776, allocations: 7.984 kB / 464.4 MB, free: 8.918 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.3776, allocations: 42.5 kB / 464.4 MB, free: 8.867 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 1.923e-06/0.3776, allocations: 0 / 464.4 MB, free: 8.867 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.001557/0.3792, allocations: 0.7146 MB / 465.1 MB, free: 8.082 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.3793, allocations: 59.41 kB / 465.2 MB, free: 8.012 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003693/0.3796, allocations: 300.5 kB / 465.5 MB, free: 7.711 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.3797, allocations: 37.7 kB / 465.5 MB, free: 7.668 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.3798, allocations: 204.1 kB / 465.7 MB, free: 7.465 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.795e-05/0.3799, allocations: 78.84 kB / 465.8 MB, free: 7.387 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.52e-05/0.3799, allocations: 4 kB / 465.8 MB, free: 7.383 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3801, allocations: 338.8 kB / 466.1 MB, free: 7.043 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.3803, allocations: 92.39 kB / 466.2 MB, free: 6.953 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.3805, allocations: 124.2 kB / 466.4 MB, free: 6.816 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00042/0.3809, allocations: 220.1 kB / 466.6 MB, free: 6.586 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.381, allocations: 0 / 466.6 MB, free: 6.586 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007971/0.3818, allocations: 371.5 kB / 466.9 MB, free: 6.207 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.3818, allocations: 4 kB / 466.9 MB, free: 6.203 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.3818, allocations: 4 kB / 466.9 MB, free: 6.199 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004242/0.3822, allocations: 122.5 kB / 467.1 MB, free: 6.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.3824, allocations: 31.98 kB / 467.1 MB, free: 6.039 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003961/0.3864, allocations: 4.445 MB / 471.5 MB, free: 1.184 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003144/0.3868, allocations: 35.95 kB / 471.6 MB, free: 1.148 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.929e-05/0.3868, allocations: 12 kB / 471.6 MB, free: 1.137 MB / 346.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 (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 0.000254/0.3871, allocations: 153.7 kB / 471.7 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.287e-05/0.3872, allocations: 35.69 kB / 471.8 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.96e-05/0.3873, allocations: 39.17 kB / 471.8 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3873, allocations: 0 / 471.8 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3873, allocations: 4 kB / 471.8 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3873, allocations: 0 / 471.8 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004778/0.3878, allocations: 369.3 kB / 472.2 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3878, allocations: 0 / 472.2 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.3879, allocations: 23.98 kB / 472.2 MB, free: 480 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003217/0.3882, allocations: 114.5 kB / 472.3 MB, free: 356 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.3883, allocations: 12.27 kB / 472.3 MB, free: 344 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003534/0.3918, allocations: 4.449 MB / 476.8 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3918, allocations: 0 / 476.8 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006472/0.3925, allocations: 425.5 kB / 477.2 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.3927, allocations: 128.6 kB / 477.3 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/0.3927, allocations: 8 kB / 477.3 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/0.393, allocations: 27.97 kB / 477.3 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.575e-05/0.3931, allocations: 27.83 kB / 477.4 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.3931, allocations: 4 kB / 477.4 MB, free: 10.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002247/0.3933, allocations: 215.1 kB / 477.6 MB, free: 10.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3933, allocations: 4 kB / 477.6 MB, free: 10.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006677/0.394, allocations: 107.8 kB / 477.7 MB, free: 10.52 MB / 362.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 (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.0001469/0.3942, allocations: 103.3 kB / 477.8 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009762/0.3951, allocations: 0.5856 MB / 478.4 MB, free: 9.777 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3952, allocations: 4.125 kB / 478.4 MB, free: 9.773 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005513/0.3957, allocations: 472 kB / 478.8 MB, free: 9.273 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004968/0.3962, allocations: 60.98 kB / 478.9 MB, free: 9.215 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.3976, allocations: 0.7747 MB / 479.7 MB, free: 8.414 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.398, allocations: 0.7912 MB / 480.5 MB, free: 7.594 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001459/0.3981, allocations: 22.98 kB / 480.5 MB, free: 7.574 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.803e-05/0.3982, allocations: 23.42 kB / 480.5 MB, free: 7.551 MB / 362.7 MB Notification: Performance of SimCode: time 7.82e-07/0.3982, allocations: 0 / 480.5 MB, free: 7.551 MB / 362.7 MB Notification: Performance of Templates: time 0.00986/0.4081, allocations: 4.784 MB / 485.3 MB, free: 2.789 MB / 362.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/jenkins1/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