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.001676/0.001676, allocations: 196.6 kB / 18.1 MB, free: 3.617 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 226.5 MB / 245.4 MB, free: 6.469 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001035/0.001035, allocations: 92.12 kB / 297.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002634/0.0002635, allocations: 11.98 kB / 358.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2744, allocations: 51.29 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1512/0.4257, allocations: 79.49 MB / 488.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004201/0.4262, allocations: 83.94 kB / 488.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03366/0.4599, allocations: 6.584 MB / 495.5 MB, free: 5.297 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.399e-06/0.4599, allocations: 4 kB / 495.5 MB, free: 5.293 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.564e-05/0.46, allocations: 12.38 kB / 495.5 MB, free: 5.281 MB / 362.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.001772/0.4618, allocations: 0.6546 MB / 496.2 MB, free: 4.574 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.355e-05/0.4618, allocations: 12.03 kB / 496.2 MB, free: 4.562 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005344/0.4624, allocations: 88.28 kB / 496.3 MB, free: 4.477 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006433/0.463, allocations: 311.2 kB / 496.6 MB, free: 4.133 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.544e-05/0.4631, allocations: 25.03 kB / 496.6 MB, free: 4.109 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.977e-05/0.4632, allocations: 28.38 kB / 496.7 MB, free: 4.082 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.4642, allocations: 363.3 kB / 497 MB, free: 3.711 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.4642, allocations: 192 / 497 MB, free: 3.711 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.317e-05/0.4643, allocations: 15.94 kB / 497 MB, free: 3.695 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.4643, allocations: 8 kB / 497 MB, free: 3.688 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009973/0.4653, allocations: 278.4 kB / 497.3 MB, free: 3.418 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003442/0.4688, allocations: 1.43 MB / 498.7 MB, free: 1.887 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007709/0.4696, allocations: 235 kB / 499 MB, free: 1.648 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003917/0.47, allocations: 116.8 kB / 499.1 MB, free: 1.531 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.64e-05/0.4701, allocations: 0 / 499.1 MB, free: 1.531 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.962e-05/0.4701, allocations: 34.56 kB / 499.1 MB, free: 1.488 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 2.655e-06/0.4702, allocations: 0 / 499.1 MB, free: 1.488 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.002625/0.4728, allocations: 0.7209 MB / 499.8 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.4729, allocations: 71.14 kB / 499.9 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005351/0.4734, allocations: 308.5 kB / 0.4885 GB, free: 312 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.884e-05/0.4735, allocations: 29.7 kB / 0.4885 GB, free: 276 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.4737, allocations: 204.2 kB / 0.4887 GB, free: 68 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.4739, allocations: 75.08 kB / 0.4888 GB, free: 15.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.806e-05/0.4739, allocations: 4 kB / 0.4888 GB, free: 15.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.4741, allocations: 338.8 kB / 0.4891 GB, free: 15.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003195/0.4745, allocations: 87.95 kB / 0.4892 GB, free: 15.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003573/0.4748, allocations: 129.1 kB / 0.4893 GB, free: 15.42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006293/0.4755, allocations: 212 kB / 0.4895 GB, free: 15.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/0.4755, allocations: 4 kB / 0.4895 GB, free: 15.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001169/0.4767, allocations: 383.5 kB / 0.4899 GB, free: 14.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.4767, allocations: 4 kB / 0.4899 GB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.4767, allocations: 0 / 0.4899 GB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005913/0.4773, allocations: 118.5 kB / 0.49 GB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/0.4777, allocations: 35.91 kB / 0.49 GB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005557/0.4832, allocations: 4.449 MB / 0.4944 GB, free: 9.781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003955/0.4837, allocations: 27.75 kB / 0.4944 GB, free: 9.754 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.162e-05/0.4837, allocations: 11.98 kB / 0.4944 GB, free: 9.742 MB / 378.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.0003663/0.4841, allocations: 153.8 kB / 0.4946 GB, free: 9.582 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.4843, allocations: 31.62 kB / 0.4946 GB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/0.4844, allocations: 39.17 kB / 0.4946 GB, free: 9.516 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.4844, allocations: 4 kB / 0.4946 GB, free: 9.512 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.4845, allocations: 0 / 0.4946 GB, free: 9.512 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.4845, allocations: 0 / 0.4946 GB, free: 9.512 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008452/0.4853, allocations: 381.2 kB / 0.495 GB, free: 9.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.4854, allocations: 0 / 0.495 GB, free: 9.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/0.4856, allocations: 23.98 kB / 0.495 GB, free: 9.066 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006118/0.4862, allocations: 122.6 kB / 0.4951 GB, free: 8.938 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.233e-05/0.4863, allocations: 4 kB / 0.4951 GB, free: 8.934 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006261/0.4925, allocations: 4.442 MB / 0.4995 GB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.4926, allocations: 0 / 0.4995 GB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.4939, allocations: 418.3 kB / 0.4999 GB, free: 3.656 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003303/0.4943, allocations: 128.6 kB / 0.5 GB, free: 3.512 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.314e-05/0.4944, allocations: 0 / 0.5 GB, free: 3.512 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004636/0.4949, allocations: 27.98 kB / 0.5 GB, free: 3.484 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/0.495, allocations: 27.89 kB / 0.5001 GB, free: 3.457 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.872e-05/0.4951, allocations: 12 kB / 0.5001 GB, free: 3.445 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004605/0.4956, allocations: 215.1 kB / 0.5003 GB, free: 3.234 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.4956, allocations: 0 / 0.5003 GB, free: 3.234 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00128/0.4969, allocations: 115.7 kB / 0.5004 GB, free: 3.121 MB / 378.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.0002764/0.4972, allocations: 115.3 kB / 0.5005 GB, free: 3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001604/0.4988, allocations: 0.5669 MB / 0.501 GB, free: 2.395 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/0.4988, allocations: 7.984 kB / 0.501 GB, free: 2.387 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.4999, allocations: 495.8 kB / 0.5015 GB, free: 1.863 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009636/0.5009, allocations: 63.52 kB / 0.5016 GB, free: 1.801 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002834/0.5037, allocations: 0.7579 MB / 0.5023 GB, free: 1.016 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008256/0.5046, allocations: 0.7912 MB / 0.5031 GB, free: 204 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002845/0.5049, allocations: 22.98 kB / 0.5031 GB, free: 184 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.556e-05/0.505, allocations: 23.36 kB / 0.5031 GB, free: 164 kB / 378.7 MB Notification: Performance of SimCode: time 2.235e-06/0.505, allocations: 0 / 0.5031 GB, free: 164 kB / 378.7 MB Notification: Performance of Templates: time 0.2498/0.7549, allocations: 4.776 MB / 0.5078 GB, free: 95.12 MB / 378.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/jenkins1/ws/OpenModelicaLibraryTestingWork/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