Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001912/0.001912, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00215/0.00215, allocations: 210.2 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.551/1.551, allocations: 230.6 MB / 257.5 MB, free: 7.793 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 55.92 kB / 378.2 MB, free: 2.562 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3013, allocations: 53.37 MB / 431.6 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.004763/0.306, allocations: 3.206 MB / 434.8 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.3075, allocations: 0.8177 MB / 435.6 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001721/0.3077, allocations: 7.938 kB / 435.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001992/0.3079, allocations: 79.28 kB / 435.7 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002379/0.3082, allocations: 126.8 kB / 435.8 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003827/0.3085, allocations: 139.8 kB / 436 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000559/0.3091, allocations: 0.5094 MB / 436.5 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002194/0.3093, allocations: 91.64 kB / 436.6 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002957/0.3096, allocations: 211.2 kB / 436.8 MB, free: 1.559 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002569/0.3099, allocations: 207 kB / 437 MB, free: 1.355 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.651e-05/0.3099, allocations: 40 kB / 437 MB, free: 1.316 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.31, allocations: 48 kB / 437.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.129e-05/0.3101, allocations: 87.62 kB / 437.1 MB, free: 1.184 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.3103, allocations: 179.2 kB / 437.3 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005294/0.3109, allocations: 0.5033 MB / 437.8 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3109, allocations: 4 kB / 437.8 MB, free: 0.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3109, allocations: 4 kB / 437.8 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.3109, allocations: 0 / 437.8 MB, free: 0.4961 MB / 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.00114/0.312, allocations: 0.6567 MB / 438.5 MB, free: 15.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.312, allocations: 12.03 kB / 438.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000344/0.3124, allocations: 76.58 kB / 438.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000493/0.3129, allocations: 270.2 kB / 438.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.3129, allocations: 29.03 kB / 438.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.901e-05/0.313, allocations: 28.38 kB / 438.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006801/0.3136, allocations: 444.1 kB / 439.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.3137, allocations: 0 / 439.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.293e-05/0.3137, allocations: 12 kB / 439.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.3137, allocations: 8 kB / 439.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005618/0.3143, allocations: 266.4 kB / 439.6 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/0.3162, allocations: 1.24 MB / 440.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000421/0.3166, allocations: 202.5 kB / 441 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/0.3168, allocations: 93.22 kB / 441.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.3169, allocations: 7.938 kB / 441.1 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/0.3169, allocations: 38.42 kB / 441.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.482e-06/0.3169, allocations: 0 / 441.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001646/0.3186, allocations: 477.2 kB / 441.6 MB, free: 12.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.3186, allocations: 55.41 kB / 441.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000335/0.3189, allocations: 300.5 kB / 442 MB, free: 12.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.319, allocations: 29.7 kB / 442 MB, free: 12.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.3191, allocations: 212.4 kB / 442.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.905e-05/0.3192, allocations: 91.25 kB / 442.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.202e-05/0.3193, allocations: 49.7 kB / 442.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.3195, allocations: 334.8 kB / 442.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.3197, allocations: 83.89 kB / 442.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.3199, allocations: 125 kB / 442.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004044/0.3203, allocations: 196.1 kB / 443.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.3203, allocations: 7.984 kB / 443.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007877/0.3211, allocations: 351.6 kB / 443.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.3211, allocations: 4 kB / 443.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.3211, allocations: 4 kB / 443.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000486/0.3216, allocations: 122.5 kB / 443.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.3218, allocations: 23.98 kB / 443.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004846/0.3267, allocations: 4.592 MB / 448.2 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002439/0.3269, allocations: 27.86 kB / 448.2 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.327, allocations: 11.94 kB / 448.2 MB, free: 5.484 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.0002149/0.3272, allocations: 145.8 kB / 448.4 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.4e-05/0.3272, allocations: 31.81 kB / 448.4 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.875e-05/0.3273, allocations: 39.17 kB / 448.4 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3273, allocations: 8 kB / 448.4 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.3273, allocations: 0 / 448.4 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.3273, allocations: 3.984 kB / 448.4 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003555/0.3277, allocations: 261.1 kB / 448.7 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3277, allocations: 0 / 448.7 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.3278, allocations: 23.98 kB / 448.7 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003301/0.3281, allocations: 106.5 kB / 448.8 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.3281, allocations: 8 kB / 448.8 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004205/0.3323, allocations: 4.585 MB / 453.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3323, allocations: 4.188 kB / 453.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006718/0.333, allocations: 397.3 kB / 453.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.3331, allocations: 47.72 kB / 453.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/0.3332, allocations: 4 kB / 453.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/0.3334, allocations: 27.91 kB / 453.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.295e-05/0.3335, allocations: 23.95 kB / 453.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.3335, allocations: 4 kB / 453.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002567/0.3338, allocations: 219.1 kB / 454.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3338, allocations: 0 / 454.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007165/0.3345, allocations: 115.8 kB / 454.2 MB, free: 15.09 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.0001356/0.3346, allocations: 103.2 kB / 454.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009603/0.3356, allocations: 0.5627 MB / 454.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.3356, allocations: 4.172 kB / 454.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000557/0.3361, allocations: 471.9 kB / 455.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.3365, allocations: 59.64 kB / 455.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.3377, allocations: 0.638 MB / 456.1 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/0.3379, allocations: 194.8 kB / 456.3 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.904e-05/0.338, allocations: 18.3 kB / 456.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.09e-05/0.3381, allocations: 15.44 kB / 456.3 MB, free: 12.91 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3381, allocations: 4 kB / 456.3 MB, free: 12.91 MB / 366.1 MB Notification: Performance of Templates: time 0.01064/0.3487, allocations: 5.434 MB / 461.7 MB, free: 7.547 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 5.081891613081098]