Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001904/0.001904, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001727/0.001727, allocations: 217.1 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002139/0.002139, allocations: 59.92 kB / 347.2 MB, free: 9.871 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3115, allocations: 49.15 MB / 396.4 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.004365/0.3159, allocations: 3.139 MB / 399.5 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.3174, allocations: 0.7773 MB / 400.3 MB, free: 6.219 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002243/0.3176, allocations: 5.844 kB / 400.3 MB, free: 6.219 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002194/0.3178, allocations: 66.11 kB / 400.3 MB, free: 6.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002812/0.3181, allocations: 140.1 kB / 400.5 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003705/0.3185, allocations: 103.9 kB / 400.6 MB, free: 6.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005817/0.3191, allocations: 0.506 MB / 401.1 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002223/0.3193, allocations: 96.88 kB / 401.2 MB, free: 5.703 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002593/0.3195, allocations: 199.1 kB / 401.4 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002543/0.3198, allocations: 184.6 kB / 401.6 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.068e-05/0.3199, allocations: 39.62 kB / 401.6 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.855e-05/0.3199, allocations: 38.53 kB / 401.6 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.09e-05/0.32, allocations: 95.62 kB / 401.7 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.3202, allocations: 178.1 kB / 401.9 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004748/0.3206, allocations: 0.4917 MB / 402.4 MB, free: 5.168 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3206, allocations: 4 kB / 402.4 MB, free: 5.164 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3207, allocations: 0 / 402.4 MB, free: 5.164 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.3207, allocations: 0 / 402.4 MB, free: 5.164 MB / 318.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.001047/0.3217, allocations: 0.6515 MB / 403 MB, free: 4.688 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.3218, allocations: 10.25 kB / 403.1 MB, free: 4.688 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.279e-05/0.3218, allocations: 72.8 kB / 403.1 MB, free: 4.625 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.643e-05/0.3219, allocations: 52.38 kB / 403.2 MB, free: 4.598 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004549/0.3224, allocations: 261.3 kB / 403.4 MB, free: 4.387 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.3224, allocations: 22 kB / 403.5 MB, free: 4.375 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.202e-05/0.3225, allocations: 36.31 kB / 403.5 MB, free: 4.359 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000645/0.3231, allocations: 429.2 kB / 403.9 MB, free: 4.094 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.3231, allocations: 1.25 kB / 403.9 MB, free: 4.094 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.3231, allocations: 15.59 kB / 403.9 MB, free: 4.082 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.3232, allocations: 7.5 kB / 403.9 MB, free: 4.082 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005726/0.3237, allocations: 275 kB / 404.2 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001809/0.3255, allocations: 1.285 MB / 405.5 MB, free: 3.008 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004266/0.326, allocations: 204 kB / 405.7 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.3262, allocations: 99.98 kB / 405.8 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.3262, allocations: 3.438 kB / 405.8 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.3262, allocations: 33.62 kB / 405.8 MB, free: 2.828 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 2.023e-06/0.3262, allocations: 0 / 405.8 MB, free: 2.828 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001391/0.3276, allocations: 476.8 kB / 406.3 MB, free: 2.645 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.35e-05/0.3276, allocations: 58.12 kB / 406.3 MB, free: 2.578 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002954/0.3279, allocations: 309.5 kB / 406.6 MB, free: 2.406 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.3279, allocations: 31.23 kB / 406.7 MB, free: 2.371 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.3281, allocations: 208.6 kB / 406.9 MB, free: 2.199 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.006e-05/0.3281, allocations: 88.11 kB / 407 MB, free: 2.129 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.655e-05/0.3282, allocations: 45.91 kB / 407 MB, free: 2.098 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.238e-05/0.3283, allocations: 344.1 kB / 407.3 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.3284, allocations: 80.92 kB / 407.4 MB, free: 1.742 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.3286, allocations: 124.5 kB / 407.5 MB, free: 1.668 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003405/0.329, allocations: 195.6 kB / 407.7 MB, free: 1.562 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.329, allocations: 1.375 kB / 407.7 MB, free: 1.562 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000668/0.3296, allocations: 355.1 kB / 408.1 MB, free: 1.387 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.3297, allocations: 5.5 kB / 408.1 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3297, allocations: 1.375 kB / 408.1 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004101/0.3301, allocations: 119.5 kB / 408.2 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.3303, allocations: 31.52 kB / 408.2 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003765/0.334, allocations: 4.639 MB / 412.9 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002946/0.3343, allocations: 27.44 kB / 412.9 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.3343, allocations: 19.06 kB / 412.9 MB, free: 12.84 MB / 334.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.0002168/0.3345, allocations: 154.9 kB / 413.1 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.729e-05/0.3346, allocations: 32.5 kB / 413.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.796e-05/0.3347, allocations: 39.09 kB / 413.1 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.3347, allocations: 3.484 kB / 413.1 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3347, allocations: 1.156 kB / 413.1 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3347, allocations: 1.266 kB / 413.1 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004335/0.3351, allocations: 305.1 kB / 413.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3351, allocations: 0.8125 kB / 413.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.3352, allocations: 24.8 kB / 413.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003558/0.3356, allocations: 117.7 kB / 413.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/0.3356, allocations: 4.75 kB / 413.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004167/0.3398, allocations: 4.645 MB / 418.2 MB, free: 7.906 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3398, allocations: 0 / 418.2 MB, free: 7.906 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000685/0.3405, allocations: 403.1 kB / 418.6 MB, free: 7.648 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.3406, allocations: 51.34 kB / 418.7 MB, free: 7.617 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.559e-05/0.3407, allocations: 6 kB / 418.7 MB, free: 7.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/0.3409, allocations: 20.81 kB / 418.7 MB, free: 7.609 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.341, allocations: 32.86 kB / 418.7 MB, free: 7.598 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.341, allocations: 5.312 kB / 418.7 MB, free: 7.598 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002578/0.3413, allocations: 217.6 kB / 419 MB, free: 7.477 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3413, allocations: 1.094 kB / 419 MB, free: 7.477 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006935/0.342, allocations: 113.5 kB / 419.1 MB, free: 7.453 MB / 334.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.0009797/0.3429, allocations: 0.9453 MB / 420 MB, free: 6.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009648/0.3439, allocations: 0.554 MB / 420.6 MB, free: 6.242 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3439, allocations: 8.062 kB / 420.6 MB, free: 6.234 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006082/0.3445, allocations: 470.7 kB / 421 MB, free: 5.828 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.3449, allocations: 64.59 kB / 421.1 MB, free: 5.789 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004534/0.3495, allocations: 3.12 MB / 424.2 MB, free: 3.508 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.3497, allocations: 188.8 kB / 424.4 MB, free: 3.383 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001322/0.3498, allocations: 29.33 kB / 424.4 MB, free: 3.363 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/0.35, allocations: 107.2 kB / 424.5 MB, free: 3.27 MB / 334.1 MB Notification: Performance of SimCode: time 6.41e-07/0.35, allocations: 0 / 424.5 MB, free: 3.27 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04651/0.3965, allocations: 9.211 MB / 433.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.25, allocations: 7.922 kB / 433.8 MB, free: 12.28 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199521 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable With_Ron_Goff.v in file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.csv. Warning: Get data of variable With_Ron_Goff.v from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.csv failed! Error: Could not read variable With_Ron_Goff_Vknee.v in file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.csv. Warning: Get data of variable With_Ron_Goff_Vknee.v from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.87279044277966]