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.001407/0.001407, allocations: 109.6 kB / 21.18 MB, free: 0.7188 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.001795/0.001795, allocations: 216.7 kB / 24.49 MB, free: 4.09 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.58/1.58, allocations: 207.6 MB / 235.3 MB, free: 10.01 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.003008/0.003008, allocations: 55.92 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3605, allocations: 49.16 MB / 396.3 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.005511/0.366, allocations: 3.474 MB / 399.8 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002371/0.3684, allocations: 0.8046 MB / 400.6 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005537/0.369, allocations: 4.781 kB / 400.6 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003149/0.3693, allocations: 73.48 kB / 400.7 MB, free: 5.891 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004395/0.3697, allocations: 133.6 kB / 400.8 MB, free: 5.793 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005144/0.3702, allocations: 106 kB / 400.9 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007587/0.371, allocations: 0.5067 MB / 401.4 MB, free: 5.473 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003058/0.3713, allocations: 104.7 kB / 401.5 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004705/0.3718, allocations: 198.2 kB / 401.7 MB, free: 5.316 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004429/0.3722, allocations: 209.3 kB / 401.9 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.3723, allocations: 39.06 kB / 402 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.3724, allocations: 39.09 kB / 402 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.3725, allocations: 91.45 kB / 402.1 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002386/0.3728, allocations: 218.6 kB / 402.3 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007545/0.3735, allocations: 0.4908 MB / 402.8 MB, free: 4.816 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.13e-05/0.3735, allocations: 0 / 402.8 MB, free: 4.816 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3736, allocations: 4 kB / 402.8 MB, free: 4.812 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.582e-05/0.3736, allocations: 1.156 kB / 402.8 MB, free: 4.812 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.001505/0.3751, allocations: 0.6496 MB / 403.5 MB, free: 4.336 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.362e-05/0.3751, allocations: 9.719 kB / 403.5 MB, free: 4.336 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001276/0.3753, allocations: 68.94 kB / 403.5 MB, free: 4.277 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/0.3754, allocations: 52.22 kB / 403.6 MB, free: 4.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006987/0.3761, allocations: 254.9 kB / 403.8 MB, free: 4.043 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.418e-05/0.3762, allocations: 25.47 kB / 403.9 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.985e-05/0.3762, allocations: 32.84 kB / 403.9 MB, free: 4.016 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008799/0.3771, allocations: 358.2 kB / 404.2 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.3771, allocations: 0 / 404.2 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.997e-05/0.3772, allocations: 15.38 kB / 404.3 MB, free: 3.828 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.402e-05/0.3772, allocations: 12.09 kB / 404.3 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006457/0.3778, allocations: 269.7 kB / 404.5 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002267/0.3801, allocations: 1.367 MB / 405.9 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004617/0.3806, allocations: 202 kB / 406.1 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002599/0.3808, allocations: 96.69 kB / 406.2 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.3809, allocations: 6.891 kB / 406.2 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.3809, allocations: 40.75 kB / 406.2 MB, free: 2.547 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 2.455e-06/0.3809, allocations: 0 / 406.2 MB, free: 2.547 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001571/0.3825, allocations: 476.6 kB / 406.7 MB, free: 2.363 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.3825, allocations: 54.7 kB / 406.8 MB, free: 2.301 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004767/0.383, allocations: 308.6 kB / 407.1 MB, free: 2.129 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.383, allocations: 31.11 kB / 407.1 MB, free: 2.094 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.3832, allocations: 220.2 kB / 407.3 MB, free: 1.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.828e-05/0.3832, allocations: 75.2 kB / 407.4 MB, free: 1.852 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.374e-05/0.3833, allocations: 51.31 kB / 407.4 MB, free: 1.816 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.74e-05/0.3834, allocations: 338.4 kB / 407.8 MB, free: 1.492 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/0.3836, allocations: 81.77 kB / 407.8 MB, free: 1.465 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002159/0.3838, allocations: 124.2 kB / 408 MB, free: 1.391 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004108/0.3843, allocations: 198.9 kB / 408.2 MB, free: 1.281 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3843, allocations: 4 kB / 408.2 MB, free: 1.277 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007421/0.385, allocations: 349.9 kB / 408.5 MB, free: 1.105 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.385, allocations: 7.625 kB / 408.5 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.385, allocations: 1.375 kB / 408.5 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004658/0.3855, allocations: 125.9 kB / 408.6 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.3857, allocations: 31.42 kB / 408.7 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004884/0.3906, allocations: 4.659 MB / 413.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003938/0.391, allocations: 28.73 kB / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.391, allocations: 5.75 kB / 413.4 MB, free: 12.55 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.0003304/0.3913, allocations: 154.3 kB / 413.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.3914, allocations: 33.66 kB / 413.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.899e-05/0.3915, allocations: 43.31 kB / 413.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3915, allocations: 1.438 kB / 413.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3915, allocations: 1.531 kB / 413.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.3915, allocations: 1.547 kB / 413.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000634/0.3922, allocations: 350.2 kB / 413.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.3922, allocations: 4.688 kB / 413.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.3923, allocations: 19.73 kB / 414 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000418/0.3927, allocations: 120.9 kB / 414.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/0.3928, allocations: 6.234 kB / 414.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004677/0.3974, allocations: 4.657 MB / 418.7 MB, free: 7.586 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3974, allocations: 0 / 418.7 MB, free: 7.586 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008293/0.3983, allocations: 405.6 kB / 419.1 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/0.3984, allocations: 55.86 kB / 419.2 MB, free: 7.289 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.093e-05/0.3985, allocations: 5.688 kB / 419.2 MB, free: 7.285 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.3987, allocations: 21.05 kB / 419.2 MB, free: 7.281 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.3988, allocations: 33 kB / 419.2 MB, free: 7.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.3989, allocations: 8.719 kB / 419.3 MB, free: 7.266 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003594/0.3992, allocations: 218.3 kB / 419.5 MB, free: 7.141 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3992, allocations: 0 / 419.5 MB, free: 7.141 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008798/0.4001, allocations: 115.1 kB / 419.6 MB, free: 7.117 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.00117/0.4013, allocations: 0.9337 MB / 420.5 MB, free: 6.305 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001098/0.4024, allocations: 0.5657 MB / 421.1 MB, free: 5.836 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.4024, allocations: 0 / 421.1 MB, free: 5.836 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006705/0.403, allocations: 473.9 kB / 421.5 MB, free: 5.414 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005139/0.4036, allocations: 68.58 kB / 421.6 MB, free: 5.371 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00595/0.4095, allocations: 3.115 MB / 424.7 MB, free: 3.094 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006538/0.4102, allocations: 0.8032 MB / 425.5 MB, free: 2.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001795/0.4103, allocations: 22.22 kB / 425.5 MB, free: 2.332 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/0.4105, allocations: 108.5 kB / 425.7 MB, free: 2.238 MB / 334.1 MB Notification: Performance of SimCode: time 2.555e-06/0.4105, allocations: 4 kB / 425.7 MB, free: 2.234 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05818/0.4687, allocations: 8.925 MB / 434.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.69/14.16, allocations: 3.938 kB / 434.6 MB, free: 11.68 MB / 350.1 MB " [Timeout remaining time 646] (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: 17.058612320004613]