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.001305/0.001305, allocations: 111.6 kB / 21.19 MB, free: 0.6641 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.001425/0.001425, allocations: 219.4 kB / 24.48 MB, free: 3.965 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.481/1.481, allocations: 230.5 MB / 258.1 MB, free: 7.793 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.002006/0.002006, allocations: 63.89 kB / 379 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3067, allocations: 53.41 MB / 432.4 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.004861/0.3116, allocations: 3.223 MB / 435.6 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.3132, allocations: 0.8141 MB / 436.4 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001801/0.3133, allocations: 11.94 kB / 436.4 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001945/0.3135, allocations: 63.3 kB / 436.5 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002474/0.3138, allocations: 134.8 kB / 436.6 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003951/0.3142, allocations: 147.7 kB / 436.8 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005815/0.3148, allocations: 0.5055 MB / 437.3 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002224/0.315, allocations: 95.64 kB / 437.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003099/0.3153, allocations: 195.4 kB / 437.6 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002624/0.3156, allocations: 187 kB / 437.8 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.326e-05/0.3156, allocations: 40 kB / 437.8 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.3157, allocations: 47.98 kB / 437.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.478e-05/0.3158, allocations: 91.67 kB / 437.9 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001906/0.316, allocations: 187.1 kB / 438.1 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005544/0.3166, allocations: 0.5015 MB / 438.6 MB, free: 260 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3166, allocations: 0 / 438.6 MB, free: 260 kB / 334.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3166, allocations: 4 kB / 438.6 MB, free: 256 kB / 334.1 MB Notification: Performance of Transformations before backend: time 2.386e-05/0.3166, allocations: 0 / 438.6 MB, free: 256 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.001139/0.3177, allocations: 0.6567 MB / 439.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.3178, allocations: 15.91 kB / 439.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000337/0.3181, allocations: 84.56 kB / 439.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004829/0.3186, allocations: 262.3 kB / 439.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/0.3186, allocations: 29.03 kB / 439.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.986e-05/0.3187, allocations: 32.38 kB / 439.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006718/0.3193, allocations: 436.1 kB / 440.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.3194, allocations: 0 / 440.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.75e-05/0.3194, allocations: 12 kB / 440.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.3194, allocations: 8 kB / 440.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005603/0.32, allocations: 274.4 kB / 440.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001899/0.3219, allocations: 1.24 MB / 441.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004262/0.3223, allocations: 205.5 kB / 441.8 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.3225, allocations: 97.22 kB / 441.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.3225, allocations: 4 kB / 441.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.3226, allocations: 42.42 kB / 442 MB, free: 12.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.794e-06/0.3226, allocations: 0 / 442 MB, free: 12.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001409/0.324, allocations: 475.6 kB / 442.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.324, allocations: 55.41 kB / 442.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003219/0.3243, allocations: 300.5 kB / 442.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.3244, allocations: 33.7 kB / 442.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.3245, allocations: 212.4 kB / 443 MB, free: 11.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.423e-05/0.3246, allocations: 83.25 kB / 443.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.681e-05/0.3247, allocations: 49.7 kB / 443.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3248, allocations: 334.8 kB / 443.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.325, allocations: 83.95 kB / 443.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.3253, allocations: 124.9 kB / 443.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003993/0.3257, allocations: 200.1 kB / 443.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.3257, allocations: 4 kB / 443.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007419/0.3264, allocations: 351.6 kB / 444.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3264, allocations: 4 kB / 444.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3264, allocations: 8.062 kB / 444.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004039/0.3268, allocations: 110.5 kB / 444.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.327, allocations: 32.2 kB / 444.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004094/0.3311, allocations: 4.58 MB / 449 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.3313, allocations: 27.86 kB / 449 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.3313, allocations: 15.94 kB / 449 MB, free: 5.238 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.0002197/0.3315, allocations: 142 kB / 449.1 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/0.3316, allocations: 35.81 kB / 449.2 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.492e-05/0.3317, allocations: 39.17 kB / 449.2 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.3317, allocations: 3.938 kB / 449.2 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.3317, allocations: 0 / 449.2 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.3317, allocations: 0 / 449.2 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003479/0.332, allocations: 261.1 kB / 449.5 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.332, allocations: 3.938 kB / 449.5 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.3322, allocations: 23.97 kB / 449.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003482/0.3325, allocations: 110.5 kB / 449.6 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.3325, allocations: 12 kB / 449.6 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00401/0.3365, allocations: 4.577 MB / 454.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.3365, allocations: 3.984 kB / 454.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006699/0.3372, allocations: 394.5 kB / 454.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.3373, allocations: 51.72 kB / 454.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.3373, allocations: 0 / 454.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/0.3376, allocations: 23.92 kB / 454.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.907e-05/0.3377, allocations: 36 kB / 454.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.3377, allocations: 4 kB / 454.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002326/0.3379, allocations: 207.1 kB / 454.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3379, allocations: 0 / 454.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006932/0.3386, allocations: 123.7 kB / 455 MB, free: 14.84 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.0001475/0.3388, allocations: 106.6 kB / 455.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009806/0.3397, allocations: 0.5699 MB / 455.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3397, allocations: 0 / 455.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006024/0.3403, allocations: 463.9 kB / 456.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.3407, allocations: 61.67 kB / 456.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.3421, allocations: 0.6702 MB / 456.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.3423, allocations: 190.8 kB / 457.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.098e-05/0.3424, allocations: 27.42 kB / 457.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3424, allocations: 0 / 457.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of Templates: time 0.01189/0.3543, allocations: 8.458 MB / 465.6 MB, free: 4.18 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/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_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: 8.087725131306797]