Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001766/0.001767, allocations: 120.9 kB / 18.41 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002106/0.002106, allocations: 190.9 kB / 21.35 MB, free: 1.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 247.1 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001623, allocations: 51.92 kB / 358.7 MB, free: 8.371 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09652/0.09816, allocations: 49.43 MB / 408.1 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.004983/0.1032, allocations: 3.495 MB / 411.6 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001499/0.1047, allocations: 0.74 MB / 412.3 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003151/0.105, allocations: 15.94 kB / 412.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.1054, allocations: 63.3 kB / 412.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003687/0.1057, allocations: 134.8 kB / 412.6 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003515/0.1061, allocations: 107.9 kB / 412.7 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006906/0.1068, allocations: 0.5016 MB / 413.2 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002619/0.1071, allocations: 131.3 kB / 413.3 MB, free: 1.688 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003452/0.1074, allocations: 195.3 kB / 413.5 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003058/0.1077, allocations: 211 kB / 413.7 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.99e-05/0.1078, allocations: 40 kB / 413.7 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.381e-05/0.1079, allocations: 40 kB / 413.8 MB, free: 1.211 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.161e-05/0.108, allocations: 87.69 kB / 413.8 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002388/0.1083, allocations: 222.9 kB / 414.1 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005583/0.1088, allocations: 0.4901 MB / 414.6 MB, free: 424 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1088, allocations: 0 / 414.6 MB, free: 424 kB / 334.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1089, allocations: 4 kB / 414.6 MB, free: 420 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.655e-05/0.1089, allocations: 0 / 414.6 MB, free: 420 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.001295/0.1102, allocations: 0.7165 MB / 415.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.1102, allocations: 19.88 kB / 415.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.1103, allocations: 56.61 kB / 415.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000521/0.1109, allocations: 315.5 kB / 415.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.1109, allocations: 25.03 kB / 415.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.778e-05/0.111, allocations: 36.38 kB / 415.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006685/0.1116, allocations: 355 kB / 416.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.1117, allocations: 4 kB / 416.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.807e-05/0.1117, allocations: 12 kB / 416.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.1117, allocations: 8 kB / 416.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006219/0.1124, allocations: 274.4 kB / 416.4 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002344/0.1147, allocations: 1.407 MB / 417.8 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000472/0.1152, allocations: 214.5 kB / 418 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002466/0.1155, allocations: 112.8 kB / 418.1 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.1155, allocations: 4 kB / 418.1 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/0.1155, allocations: 38.56 kB / 418.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.963e-06/0.1156, allocations: 0 / 418.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001742/0.1173, allocations: 0.7006 MB / 418.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.1174, allocations: 55.41 kB / 418.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003762/0.1178, allocations: 316.5 kB / 419.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.1178, allocations: 29.7 kB / 419.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.118, allocations: 208.5 kB / 419.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.515e-05/0.1181, allocations: 87.25 kB / 419.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-05/0.1182, allocations: 45.7 kB / 419.6 MB, free: 11.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.1184, allocations: 342.8 kB / 419.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/0.1186, allocations: 87.91 kB / 420 MB, free: 10.65 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002376/0.1188, allocations: 124.2 kB / 420.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004353/0.1193, allocations: 204.1 kB / 420.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.1193, allocations: 4 kB / 420.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008251/0.1201, allocations: 355.7 kB / 420.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.1202, allocations: 12.06 kB / 420.7 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1202, allocations: 0 / 420.7 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004812/0.1207, allocations: 110.5 kB / 420.8 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.1209, allocations: 35.91 kB / 420.8 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0048/0.1257, allocations: 4.971 MB / 425.8 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/0.1259, allocations: 23.83 kB / 425.8 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.126, allocations: 16.06 kB / 425.8 MB, free: 4.34 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.0001997/0.1262, allocations: 146 kB / 426 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.664e-05/0.1263, allocations: 39.7 kB / 426 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.433e-05/0.1263, allocations: 39.17 kB / 426 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1264, allocations: 4 kB / 426 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.1264, allocations: 0 / 426 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1264, allocations: 0 / 426 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005215/0.1269, allocations: 377.3 kB / 426.4 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.1269, allocations: 4 kB / 426.4 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.127, allocations: 23.92 kB / 426.4 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003647/0.1274, allocations: 118.5 kB / 426.5 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.1274, allocations: 0 / 426.5 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1908/0.3182, allocations: 4.964 MB / 431.5 MB, free: 20.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3183, allocations: 2.875 kB / 431.5 MB, free: 20.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005507/0.3188, allocations: 401.7 kB / 431.9 MB, free: 20.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.319, allocations: 134.1 kB / 432 MB, free: 19.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/0.319, allocations: 4.938 kB / 432 MB, free: 19.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.3192, allocations: 19.67 kB / 432.1 MB, free: 19.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.79e-05/0.3193, allocations: 28.03 kB / 432.1 MB, free: 19.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.3193, allocations: 11.25 kB / 432.1 MB, free: 19.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001748/0.3195, allocations: 223.2 kB / 432.3 MB, free: 19.9 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3195, allocations: 0 / 432.3 MB, free: 19.9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006262/0.3202, allocations: 113.7 kB / 432.4 MB, free: 19.9 MB / 350.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.0001019/0.3203, allocations: 102.5 kB / 432.5 MB, free: 19.81 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007304/0.321, allocations: 0.5768 MB / 433.1 MB, free: 19.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.321, allocations: 0 / 433.1 MB, free: 19.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004054/0.3214, allocations: 489 kB / 433.6 MB, free: 19.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.3218, allocations: 61.7 kB / 433.6 MB, free: 19.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009407/0.3228, allocations: 0.6618 MB / 434.3 MB, free: 18.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001891/0.323, allocations: 0.8017 MB / 435.1 MB, free: 18.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.898e-05/0.323, allocations: 21.88 kB / 435.1 MB, free: 18.09 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.323, allocations: 1.938 kB / 435.1 MB, free: 18.09 MB / 350.1 MB Notification: Performance of Templates: time 0.01123/0.3343, allocations: 8.295 MB / 443.4 MB, free: 16.87 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 8.021851105964743]