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.001324/0.001324, allocations: 111 kB / 21.19 MB, free: 0.6758 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.001379/0.001379, allocations: 215.5 kB / 24.48 MB, free: 3.98 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.439/1.439, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.001531/0.001531, allocations: 51.91 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2476, allocations: 53.35 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.004652/0.2522, allocations: 3.216 MB / 435.5 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.2536, allocations: 0.818 MB / 436.4 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.2537, allocations: 11.94 kB / 436.4 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001757/0.2539, allocations: 67.3 kB / 436.4 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002355/0.2542, allocations: 134.8 kB / 436.6 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.2545, allocations: 143.8 kB / 436.7 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005986/0.2551, allocations: 0.5016 MB / 437.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/0.2553, allocations: 99.62 kB / 437.3 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002678/0.2556, allocations: 195.3 kB / 437.5 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002476/0.2558, allocations: 215 kB / 437.7 MB, free: 1.309 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.081e-05/0.2559, allocations: 40 kB / 437.7 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.256, allocations: 44 kB / 437.8 MB, free: 1.227 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.637e-05/0.2561, allocations: 87.69 kB / 437.9 MB, free: 1.141 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.2562, allocations: 187.1 kB / 438.1 MB, free: 0.957 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005806/0.2568, allocations: 0.5008 MB / 438.6 MB, free: 468 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2568, allocations: 0 / 438.6 MB, free: 468 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2568, allocations: 0 / 438.6 MB, free: 468 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.2568, allocations: 0 / 438.6 MB, free: 468 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.001135/0.258, allocations: 0.6645 MB / 439.2 MB, free: 15.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.258, allocations: 8.031 kB / 439.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000355/0.2583, allocations: 80.52 kB / 439.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004624/0.2588, allocations: 270.3 kB / 439.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.2588, allocations: 29.03 kB / 439.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.03e-05/0.2589, allocations: 28.38 kB / 439.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007122/0.2596, allocations: 444.1 kB / 440.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.2596, allocations: 0 / 440.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.604e-05/0.2596, allocations: 12 kB / 440.1 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.2597, allocations: 12 kB / 440.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000565/0.2602, allocations: 266.4 kB / 440.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001955/0.2622, allocations: 1.237 MB / 441.6 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004483/0.2626, allocations: 198.5 kB / 441.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.2628, allocations: 93.22 kB / 441.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.2629, allocations: 4 kB / 441.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/0.2629, allocations: 46.42 kB / 441.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.543e-06/0.2629, allocations: 0 / 441.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001484/0.2644, allocations: 485.1 kB / 442.4 MB, free: 12.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.2644, allocations: 51.41 kB / 442.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003223/0.2647, allocations: 300.5 kB / 442.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.2648, allocations: 29.7 kB / 442.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.2649, allocations: 216.4 kB / 443 MB, free: 11.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.972e-05/0.265, allocations: 87.27 kB / 443.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.008e-05/0.2651, allocations: 45.7 kB / 443.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.2653, allocations: 342.8 kB / 443.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.2655, allocations: 71.97 kB / 443.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.2657, allocations: 129 kB / 443.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003926/0.2661, allocations: 200.1 kB / 443.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2661, allocations: 0 / 443.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007664/0.2668, allocations: 351.6 kB / 444.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.2669, allocations: 8.062 kB / 444.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.2669, allocations: 4 kB / 444.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004418/0.2673, allocations: 118.5 kB / 444.3 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.2675, allocations: 35.91 kB / 444.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004084/0.2716, allocations: 4.58 MB / 448.9 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.2718, allocations: 27.81 kB / 448.9 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.2718, allocations: 8 kB / 449 MB, free: 5.445 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.0001835/0.272, allocations: 156.5 kB / 449.1 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.554e-05/0.2721, allocations: 31.81 kB / 449.1 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.441e-05/0.2721, allocations: 39.17 kB / 449.2 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.2721, allocations: 7.938 kB / 449.2 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.2721, allocations: 0 / 449.2 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.2721, allocations: 0 / 449.2 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003544/0.2725, allocations: 257.1 kB / 449.4 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2725, allocations: 0 / 449.4 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.2726, allocations: 27.92 kB / 449.5 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003341/0.2729, allocations: 114.5 kB / 449.6 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.273, allocations: 7.984 kB / 449.6 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00406/0.277, allocations: 4.577 MB / 454.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.277, allocations: 0 / 454.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006445/0.2777, allocations: 397.4 kB / 454.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.2778, allocations: 51.72 kB / 454.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.675e-05/0.2778, allocations: 4 kB / 454.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/0.2781, allocations: 24.27 kB / 454.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.128e-05/0.2782, allocations: 31.89 kB / 454.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/0.2782, allocations: 8 kB / 454.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002247/0.2784, allocations: 215 kB / 454.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2784, allocations: 0 / 454.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006657/0.2791, allocations: 119.7 kB / 455 MB, free: 15.04 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.0001263/0.2792, allocations: 110.5 kB / 455.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000927/0.2801, allocations: 0.5621 MB / 455.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2801, allocations: 0 / 455.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005713/0.2807, allocations: 472 kB / 456.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.2811, allocations: 53.22 kB / 456.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.2823, allocations: 0.64 MB / 456.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/0.2824, allocations: 195.3 kB / 457 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.662e-05/0.2825, allocations: 14.3 kB / 457 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.575e-05/0.2826, allocations: 27.42 kB / 457 MB, free: 12.86 MB / 366.1 MB Notification: Performance of SimCode: time 4.3e-07/0.2826, allocations: 0 / 457 MB, free: 12.86 MB / 366.1 MB Notification: Performance of Templates: time 0.01057/0.2932, allocations: 5.434 MB / 462.5 MB, free: 7.496 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 -s gbode -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: 4.6221069320017705]