Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00153/0.00153, allocations: 114.7 kB / 19.17 MB, free: 3.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001725/0.001725, allocations: 214.6 kB / 22.13 MB, free: 0.9414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.457/1.457, allocations: 230.4 MB / 255.4 MB, free: 14.98 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 75.83 kB / 374.8 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1189, allocations: 53.31 MB / 428.1 MB, free: 4.328 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.005143/0.1241, allocations: 3.526 MB / 431.6 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2472/0.3713, allocations: 0.8436 MB / 432.4 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005232/0.3719, allocations: 11.34 kB / 432.5 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002946/0.3721, allocations: 63.45 kB / 432.5 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003495/0.3725, allocations: 139.5 kB / 432.7 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004677/0.373, allocations: 133.8 kB / 432.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006011/0.3736, allocations: 0.5099 MB / 433.3 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002328/0.3738, allocations: 99.11 kB / 433.4 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003226/0.3741, allocations: 191.4 kB / 433.6 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002473/0.3744, allocations: 215.2 kB / 433.8 MB, free: 8.027 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.565e-05/0.3744, allocations: 39.97 kB / 433.8 MB, free: 8.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.3746, allocations: 44.91 kB / 433.9 MB, free: 8.027 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.145e-05/0.3746, allocations: 89.48 kB / 434 MB, free: 8.008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000203/0.3748, allocations: 223.8 kB / 434.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004834/0.3753, allocations: 0.4908 MB / 434.7 MB, free: 7.859 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3753, allocations: 1.312 kB / 434.7 MB, free: 7.859 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3753, allocations: 0 / 434.7 MB, free: 7.859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.3753, allocations: 1.156 kB / 434.7 MB, free: 7.859 MB / 350.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.001015/0.3764, allocations: 0.7349 MB / 435.4 MB, free: 7.348 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.3764, allocations: 8.938 kB / 435.4 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003448/0.3767, allocations: 80.03 kB / 435.5 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004402/0.3772, allocations: 332.6 kB / 435.8 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.3772, allocations: 25.17 kB / 435.8 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.664e-05/0.3773, allocations: 31.81 kB / 435.9 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005982/0.3779, allocations: 355.6 kB / 436.2 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.3779, allocations: 7.562 kB / 436.2 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.533e-05/0.3779, allocations: 16.05 kB / 436.2 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.3779, allocations: 7.781 kB / 436.3 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005638/0.3785, allocations: 267.3 kB / 436.5 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001877/0.3804, allocations: 1.413 MB / 437.9 MB, free: 6.199 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004126/0.3808, allocations: 198.3 kB / 438.1 MB, free: 6.176 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002215/0.381, allocations: 102.1 kB / 438.2 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.381, allocations: 2.062 kB / 438.2 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.381, allocations: 44.72 kB / 438.3 MB, free: 6.117 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 2.024e-06/0.381, allocations: 1.031 kB / 438.3 MB, free: 6.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001496/0.3825, allocations: 0.6963 MB / 439 MB, free: 5.719 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.3826, allocations: 55.44 kB / 439 MB, free: 5.656 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003376/0.3829, allocations: 311.4 kB / 439.3 MB, free: 5.484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.3829, allocations: 30.86 kB / 439.4 MB, free: 5.449 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.3831, allocations: 213.2 kB / 439.6 MB, free: 5.273 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.693e-05/0.3831, allocations: 84.91 kB / 439.6 MB, free: 5.207 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.453e-05/0.3832, allocations: 55.64 kB / 439.7 MB, free: 5.168 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.536e-05/0.3833, allocations: 339.4 kB / 440 MB, free: 4.844 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.3835, allocations: 76.8 kB / 440.1 MB, free: 4.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/0.3837, allocations: 133 kB / 440.2 MB, free: 4.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000397/0.3841, allocations: 205.6 kB / 440.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3841, allocations: 5.125 kB / 440.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007211/0.3848, allocations: 350.9 kB / 440.8 MB, free: 4.449 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.3849, allocations: 5.562 kB / 440.8 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3849, allocations: 0.9688 kB / 440.8 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004455/0.3853, allocations: 119.2 kB / 440.9 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.3855, allocations: 32.97 kB / 440.9 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003242/0.3887, allocations: 4.968 MB / 445.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.389, allocations: 27.2 kB / 445.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.389, allocations: 7.188 kB / 445.9 MB, free: 15.53 MB / 366.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 () * 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.0002435/0.3892, allocations: 155 kB / 446.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.104e-05/0.3893, allocations: 36.75 kB / 446.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.362e-05/0.3894, allocations: 35.8 kB / 446.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3894, allocations: 7.094 kB / 446.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3894, allocations: 0 / 446.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.3894, allocations: 2.312 kB / 446.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006287/0.39, allocations: 377.4 kB / 446.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.39, allocations: 9.094 kB / 446.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.3901, allocations: 19.88 kB / 446.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003462/0.3905, allocations: 113.2 kB / 446.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.3905, allocations: 6.094 kB / 446.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004785/0.3953, allocations: 4.975 MB / 451.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3953, allocations: 0 / 451.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007489/0.396, allocations: 401.4 kB / 452 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001611/0.3962, allocations: 137.2 kB / 452.2 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.548e-05/0.3962, allocations: 6.984 kB / 452.2 MB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.3965, allocations: 20.45 kB / 452.2 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.986e-05/0.3966, allocations: 26.72 kB / 452.2 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.3966, allocations: 6.547 kB / 452.2 MB, free: 9.754 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002936/0.3969, allocations: 224.7 kB / 452.5 MB, free: 9.629 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3969, allocations: 0 / 452.5 MB, free: 9.629 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007255/0.3976, allocations: 122.5 kB / 452.6 MB, free: 9.598 MB / 366.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 () * 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.0001533/0.3978, allocations: 105.5 kB / 452.7 MB, free: 9.508 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.3988, allocations: 0.5716 MB / 453.3 MB, free: 9.078 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3988, allocations: 0 / 453.3 MB, free: 9.078 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005946/0.3994, allocations: 468.5 kB / 453.7 MB, free: 8.691 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.3998, allocations: 55.06 kB / 453.8 MB, free: 8.672 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.4011, allocations: 0.6816 MB / 454.4 MB, free: 8.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006005/0.4017, allocations: 0.7954 MB / 455.2 MB, free: 7.551 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.549e-05/0.4018, allocations: 21.56 kB / 455.3 MB, free: 7.543 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4018, allocations: 0 / 455.3 MB, free: 7.543 MB / 366.1 MB Notification: Performance of Templates: time 0.01286/0.4146, allocations: 8.49 MB / 463.8 MB, free: 4.91 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.077219603117555]