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/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.001873/0.001873, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.003196/0.003196, allocations: 206.4 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 230.5 MB / 257.4 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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) 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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 71.89 kB / 378.2 MB, free: 2.301 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2773, allocations: 53.41 MB / 431.6 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.005323/0.2827, allocations: 3.213 MB / 434.9 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.2844, allocations: 0.8141 MB / 435.7 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002132/0.2846, allocations: 11.94 kB / 435.7 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000232/0.2849, allocations: 67.3 kB / 435.8 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002766/0.2851, allocations: 134.8 kB / 435.9 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004445/0.2856, allocations: 139.8 kB / 436 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006031/0.2862, allocations: 0.5172 MB / 436.5 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002315/0.2864, allocations: 87.66 kB / 436.6 MB, free: 1.516 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003094/0.2867, allocations: 203.3 kB / 436.8 MB, free: 1.316 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002606/0.287, allocations: 191 kB / 437 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.18e-05/0.287, allocations: 36 kB / 437 MB, free: 1.094 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.2872, allocations: 48 kB / 437.1 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.929e-05/0.2872, allocations: 83.69 kB / 437.2 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.2874, allocations: 183.1 kB / 437.3 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005551/0.288, allocations: 0.5043 MB / 437.9 MB, free: 288 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.288, allocations: 4 kB / 437.9 MB, free: 284 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.288, allocations: 0 / 437.9 MB, free: 284 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.288, allocations: 0 / 437.9 MB, free: 284 kB / 334.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.001272/0.2893, allocations: 0.6645 MB / 438.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.2893, allocations: 12.03 kB / 438.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003698/0.2897, allocations: 76.58 kB / 438.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005518/0.2902, allocations: 270.2 kB / 438.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.468e-05/0.2903, allocations: 29.03 kB / 438.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.595e-05/0.2903, allocations: 32.38 kB / 438.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007069/0.291, allocations: 440.1 kB / 439.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.291, allocations: 0 / 439.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.432e-05/0.2911, allocations: 12 kB / 439.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.2911, allocations: 8 kB / 439.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005622/0.2916, allocations: 266.4 kB / 439.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.2936, allocations: 1.236 MB / 440.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004388/0.2941, allocations: 204.8 kB / 441.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.2943, allocations: 93.22 kB / 441.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.2943, allocations: 4 kB / 441.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/0.2944, allocations: 46.36 kB / 441.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.433e-06/0.2944, allocations: 4 kB / 441.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.0015/0.2959, allocations: 475.6 kB / 441.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.2959, allocations: 55.41 kB / 441.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003986/0.2963, allocations: 300.5 kB / 442 MB, free: 11.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/0.2963, allocations: 33.7 kB / 442.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.2965, allocations: 212.4 kB / 442.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.222e-05/0.2966, allocations: 87.25 kB / 442.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.072e-05/0.2967, allocations: 49.7 kB / 442.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002446/0.2969, allocations: 334.8 kB / 442.7 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.2971, allocations: 79.95 kB / 442.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002323/0.2973, allocations: 125 kB / 442.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004141/0.2978, allocations: 208 kB / 443.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2978, allocations: 0 / 443.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007368/0.2985, allocations: 347.7 kB / 443.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.2985, allocations: 8 kB / 443.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2985, allocations: 64 / 443.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004268/0.2989, allocations: 118.5 kB / 443.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.2991, allocations: 27.92 kB / 443.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00472/0.3038, allocations: 4.58 MB / 448.2 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.3041, allocations: 31.86 kB / 448.2 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.3041, allocations: 11.94 kB / 448.3 MB, free: 5.27 MB / 350.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.0002276/0.3043, allocations: 145.8 kB / 448.4 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.241e-05/0.3044, allocations: 31.94 kB / 448.4 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.98e-05/0.3045, allocations: 43.17 kB / 448.5 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.3045, allocations: 3.938 kB / 448.5 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3045, allocations: 0 / 448.5 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.3045, allocations: 7.984 kB / 448.5 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004346/0.3049, allocations: 261.1 kB / 448.7 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.3049, allocations: 0 / 448.7 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.305, allocations: 23.92 kB / 448.8 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003295/0.3054, allocations: 110.5 kB / 448.9 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.3054, allocations: 8 kB / 448.9 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004288/0.3097, allocations: 4.585 MB / 453.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3097, allocations: 0 / 453.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006374/0.3103, allocations: 390.6 kB / 453.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.3104, allocations: 48 kB / 453.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.376e-05/0.3105, allocations: 4 kB / 453.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.3107, allocations: 27.91 kB / 453.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.057e-05/0.3108, allocations: 31.89 kB / 454 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.3108, allocations: 12 kB / 454 MB, free: 15.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002224/0.311, allocations: 211.1 kB / 454.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.311, allocations: 0 / 454.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006893/0.3117, allocations: 119.7 kB / 454.3 MB, free: 14.86 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.0001465/0.3119, allocations: 102.6 kB / 454.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.3129, allocations: 0.5699 MB / 455 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.3129, allocations: 0 / 455 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005677/0.3134, allocations: 463.9 kB / 455.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.3138, allocations: 53.19 kB / 455.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.3151, allocations: 0.6458 MB / 456.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.3153, allocations: 198.8 kB / 456.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.3154, allocations: 18.3 kB / 456.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.536e-05/0.3154, allocations: 19.44 kB / 456.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3154, allocations: 0 / 456.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of Templates: time 0.01083/0.3262, allocations: 5.355 MB / 461.7 MB, free: 7.391 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.853265339508653]