Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001454/0.001454, allocations: 180.1 kB / 8.365 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.034/2.034, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001081/0.001081, allocations: 83.55 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.311e-05/2.31e-05, allocations: 7.984 kB / 314.8 MB, free: 9.156 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3395, allocations: 47.56 MB / 362.3 MB, free: 45.85 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1228/0.4624, allocations: 76.65 MB / 439 MB, free: 9.648 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/0.4627, allocations: 69.3 kB / 439 MB, free: 9.582 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02689/0.4896, allocations: 6.257 MB / 445.3 MB, free: 3.336 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4897, allocations: 0 / 445.3 MB, free: 3.336 MB / 331.1 MB Notification: Performance of Transformations before backend: time 3.17e-05/0.4897, allocations: 8 kB / 445.3 MB, free: 3.328 MB / 331.1 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.001398/0.4911, allocations: 0.6141 MB / 445.9 MB, free: 2.672 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.4912, allocations: 8.031 kB / 445.9 MB, free: 2.664 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.4913, allocations: 52.44 kB / 446 MB, free: 2.613 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005567/0.4919, allocations: 306.5 kB / 446.3 MB, free: 2.273 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.4919, allocations: 8 kB / 446.3 MB, free: 2.266 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.551e-05/0.492, allocations: 20 kB / 446.3 MB, free: 2.246 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006582/0.4927, allocations: 210.2 kB / 446.5 MB, free: 2.039 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007307/0.4934, allocations: 287.1 kB / 446.8 MB, free: 1.742 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.4934, allocations: 4 kB / 446.8 MB, free: 1.738 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.397e-05/0.4935, allocations: 0 / 446.8 MB, free: 1.738 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.4935, allocations: 12 kB / 446.8 MB, free: 1.727 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003102/0.4966, allocations: 1.367 MB / 448.2 MB, free: 280 kB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005297/0.4972, allocations: 205 kB / 448.4 MB, free: 68 kB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002529/0.4975, allocations: 85.7 kB / 448.5 MB, free: 15.98 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.4975, allocations: 0 / 448.5 MB, free: 15.98 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.4976, allocations: 38.5 kB / 448.5 MB, free: 15.93 MB / 347.1 MB Notification: Performance of pre-optimization done (n=24): time 2.154e-06/0.4976, allocations: 0 / 448.5 MB, free: 15.93 MB / 347.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007935/0.4984, allocations: 248.1 kB / 448.7 MB, free: 15.68 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.4985, allocations: 56.34 kB / 448.8 MB, free: 15.61 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003986/0.4989, allocations: 241.2 kB / 449 MB, free: 15.37 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 3.741e-05/0.4989, allocations: 25.7 kB / 449.1 MB, free: 15.34 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.4991, allocations: 262.8 kB / 449.3 MB, free: 15.08 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.52e-05/0.4992, allocations: 74.86 kB / 449.4 MB, free: 15 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.802e-05/0.4993, allocations: 0 / 449.4 MB, free: 15 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.4994, allocations: 324.8 kB / 449.7 MB, free: 14.68 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.4996, allocations: 56 kB / 449.8 MB, free: 14.62 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.4999, allocations: 108.2 kB / 449.9 MB, free: 14.5 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/0.5001, allocations: 67.06 kB / 449.9 MB, free: 14.44 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.5001, allocations: 0 / 449.9 MB, free: 14.44 MB / 347.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009588/0.5011, allocations: 280.9 kB / 450.2 MB, free: 14.15 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.5011, allocations: 8 kB / 450.2 MB, free: 14.14 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.5011, allocations: 4 kB / 450.2 MB, free: 14.14 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006014/0.5017, allocations: 110.5 kB / 450.3 MB, free: 14.02 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003589/0.5021, allocations: 35.92 kB / 450.4 MB, free: 13.99 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004868/0.507, allocations: 4.263 MB / 454.6 MB, free: 9.375 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00042/0.5075, allocations: 31.7 kB / 454.7 MB, free: 9.344 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.5075, allocations: 4.938 kB / 454.7 MB, free: 9.34 MB / 347.1 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 0.0001443/0.5077, allocations: 114.4 kB / 454.8 MB, free: 9.223 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.443e-05/0.5078, allocations: 31.95 kB / 454.8 MB, free: 9.191 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.278e-05/0.5079, allocations: 30.11 kB / 454.8 MB, free: 9.16 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.5079, allocations: 3.984 kB / 454.8 MB, free: 9.156 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5079, allocations: 8 kB / 454.8 MB, free: 9.148 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.5079, allocations: 0 / 454.8 MB, free: 9.148 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005561/0.5085, allocations: 317.9 kB / 455.2 MB, free: 8.801 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.5085, allocations: 0 / 455.2 MB, free: 8.801 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002294/0.5088, allocations: 35.84 kB / 455.2 MB, free: 8.766 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005212/0.5093, allocations: 112.2 kB / 455.3 MB, free: 8.648 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.5093, allocations: 4 kB / 455.3 MB, free: 8.645 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004728/0.5141, allocations: 4.263 MB / 459.6 MB, free: 4.035 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.5141, allocations: 0 / 459.6 MB, free: 4.035 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007395/0.5149, allocations: 339.2 kB / 459.9 MB, free: 3.68 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000196/0.5151, allocations: 128.9 kB / 460 MB, free: 3.535 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.994e-05/0.5151, allocations: 64 / 460 MB, free: 3.535 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003919/0.5156, allocations: 31.97 kB / 460.1 MB, free: 3.504 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.5157, allocations: 27.92 kB / 460.1 MB, free: 3.477 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/0.5157, allocations: 4 kB / 460.1 MB, free: 3.473 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0002884/0.516, allocations: 192.6 kB / 460.3 MB, free: 3.285 MB / 347.1 MB Notification: Performance of sort global known variables: time 4.5e-07/0.516, allocations: 3.938 kB / 460.3 MB, free: 3.281 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0009793/0.517, allocations: 107.7 kB / 460.4 MB, free: 3.176 MB / 347.1 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.0001742/0.5172, allocations: 95.25 kB / 460.5 MB, free: 3.074 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.5182, allocations: 0.5036 MB / 461 MB, free: 2.543 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.5183, allocations: 4.125 kB / 461 MB, free: 2.539 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000625/0.5189, allocations: 437 kB / 461.4 MB, free: 2.082 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004896/0.5194, allocations: 42.91 kB / 461.5 MB, free: 2.043 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.5207, allocations: 418.1 kB / 461.9 MB, free: 1.609 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004869/0.5212, allocations: 0.807 MB / 462.7 MB, free: 0.7695 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.5214, allocations: 19.44 kB / 462.7 MB, free: 0.75 MB / 347.1 MB Notification: Performance of SimCode: time 1.493e-06/0.5214, allocations: 0 / 462.7 MB, free: 0.75 MB / 347.1 MB Notification: Performance of Templates: time 0.01555/0.5369, allocations: 7.778 MB / 470.5 MB, free: 9.008 MB / 363.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches