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.001276/0.001276, allocations: 112.5 kB / 21.19 MB, free: 0.7578 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.001457/0.001457, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.376/1.376, allocations: 230.6 MB / 258.3 MB, free: 8.242 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.001528/0.001528, allocations: 47.92 kB / 379 MB, free: 2.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2746, allocations: 53.36 MB / 432.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.005226/0.2798, allocations: 3.54 MB / 435.9 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.2816, allocations: 0.8544 MB / 436.8 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003737/0.282, allocations: 11.94 kB / 436.8 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002582/0.2823, allocations: 71.28 kB / 436.9 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003978/0.2827, allocations: 134.8 kB / 437 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004411/0.2831, allocations: 131.8 kB / 437.1 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007244/0.2838, allocations: 0.5094 MB / 437.6 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002363/0.2841, allocations: 95.7 kB / 437.7 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003744/0.2844, allocations: 199.3 kB / 437.9 MB, free: 1.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003282/0.2848, allocations: 215 kB / 438.1 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.963e-05/0.2848, allocations: 36 kB / 438.2 MB, free: 1.164 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.285, allocations: 44 kB / 438.2 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.938e-05/0.285, allocations: 95.61 kB / 438.3 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000233/0.2853, allocations: 226.8 kB / 438.5 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005937/0.2859, allocations: 0.4976 MB / 439 MB, free: 316 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2859, allocations: 4 kB / 439 MB, free: 312 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2859, allocations: 0 / 439 MB, free: 312 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.599e-05/0.2859, allocations: 0 / 439 MB, free: 312 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.001296/0.2872, allocations: 0.6606 MB / 439.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.2872, allocations: 8.031 kB / 439.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000375/0.2876, allocations: 84.58 kB / 439.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000512/0.2881, allocations: 258.3 kB / 440 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.515e-05/0.2882, allocations: 25.03 kB / 440.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.397e-05/0.2882, allocations: 32.38 kB / 440.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006517/0.2888, allocations: 359.1 kB / 440.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.2889, allocations: 3.938 kB / 440.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.61e-05/0.2889, allocations: 16 kB / 440.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.2889, allocations: 12 kB / 440.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005621/0.2895, allocations: 266.5 kB / 440.7 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002186/0.2917, allocations: 1.372 MB / 442.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000458/0.2921, allocations: 204.1 kB / 442.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.2923, allocations: 97.22 kB / 442.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.2924, allocations: 7.922 kB / 442.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/0.2924, allocations: 42.42 kB / 442.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.323e-06/0.2924, allocations: 0 / 442.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001539/0.2939, allocations: 491.2 kB / 442.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.294, allocations: 51.41 kB / 443 MB, free: 12.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003447/0.2943, allocations: 308.6 kB / 443.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.2944, allocations: 33.7 kB / 443.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.2945, allocations: 220.5 kB / 443.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.037e-05/0.2946, allocations: 79.31 kB / 443.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.845e-05/0.2947, allocations: 49.66 kB / 443.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.2948, allocations: 338.8 kB / 444 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.295, allocations: 83.95 kB / 444.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/0.2953, allocations: 125 kB / 444.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003903/0.2956, allocations: 204 kB / 444.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2956, allocations: 0 / 444.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007508/0.2964, allocations: 355.8 kB / 444.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.2964, allocations: 8 kB / 444.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.2964, allocations: 0 / 444.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004169/0.2968, allocations: 118.5 kB / 444.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.297, allocations: 39.91 kB / 444.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004205/0.3012, allocations: 4.661 MB / 449.6 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002285/0.3015, allocations: 31.77 kB / 449.6 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.3015, allocations: 4 kB / 449.6 MB, free: 5.098 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.0001755/0.3017, allocations: 145.8 kB / 449.7 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.777e-05/0.3017, allocations: 35.75 kB / 449.8 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.157e-05/0.3018, allocations: 43.33 kB / 449.8 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.3018, allocations: 0 / 449.8 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.3018, allocations: 0 / 449.8 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.3018, allocations: 7.984 kB / 449.8 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004511/0.3023, allocations: 352.3 kB / 450.2 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3023, allocations: 0 / 450.2 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.3024, allocations: 27.91 kB / 450.2 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003319/0.3027, allocations: 110.5 kB / 450.3 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.3027, allocations: 4 kB / 450.3 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004102/0.3068, allocations: 4.661 MB / 455 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3068, allocations: 0 / 455 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006479/0.3075, allocations: 405.6 kB / 455.4 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.3076, allocations: 55.7 kB / 455.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.363e-05/0.3077, allocations: 0 / 455.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/0.3079, allocations: 19.98 kB / 455.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.152e-05/0.308, allocations: 35.88 kB / 455.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.308, allocations: 7.938 kB / 455.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002368/0.3082, allocations: 219.1 kB / 455.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3082, allocations: 4 kB / 455.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006781/0.3089, allocations: 119.8 kB / 455.8 MB, free: 14.45 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.000144/0.309, allocations: 107.2 kB / 455.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009797/0.31, allocations: 0.5582 MB / 456.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.31, allocations: 0.6562 kB / 456.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005455/0.3106, allocations: 475.8 kB / 456.9 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.311, allocations: 73.55 kB / 457 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.3123, allocations: 0.6638 MB / 457.7 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004922/0.3128, allocations: 0.7953 MB / 458.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.443e-05/0.3129, allocations: 27.42 kB / 458.5 MB, free: 11.63 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3129, allocations: 0 / 458.5 MB, free: 11.63 MB / 366.1 MB Notification: Performance of Templates: time 0.01175/0.3246, allocations: 8.483 MB / 467 MB, free: 3.16 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","/var/lib/jenkins1/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: 7.635081344982609]