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.001861/0.001861, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002306/0.002306, allocations: 205.9 kB / 23.73 MB, free: 4.379 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.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 7.785 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 47.92 kB / 377.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2673, allocations: 53.36 MB / 431.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.004896/0.2722, allocations: 3.211 MB / 434.3 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.274, allocations: 0.818 MB / 435.1 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002036/0.2742, allocations: 11.94 kB / 435.1 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002113/0.2744, allocations: 63.3 kB / 435.2 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002829/0.2747, allocations: 138.8 kB / 435.3 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003993/0.2751, allocations: 139.8 kB / 435.5 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005539/0.2756, allocations: 0.5055 MB / 436 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002227/0.2759, allocations: 103.6 kB / 436.1 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002968/0.2762, allocations: 203.3 kB / 436.3 MB, free: 1.426 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002506/0.2764, allocations: 207 kB / 436.5 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.428e-05/0.2765, allocations: 40 kB / 436.5 MB, free: 1.184 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.2766, allocations: 40 kB / 436.5 MB, free: 1.145 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.782e-05/0.2767, allocations: 95.69 kB / 436.6 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001863/0.2769, allocations: 191 kB / 436.8 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005372/0.2774, allocations: 0.494 MB / 437.3 MB, free: 376 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2774, allocations: 0 / 437.3 MB, free: 376 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2774, allocations: 0 / 437.3 MB, free: 376 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.827e-05/0.2774, allocations: 0 / 437.3 MB, free: 376 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.001167/0.2786, allocations: 0.6645 MB / 438 MB, free: 15.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.2787, allocations: 8.031 kB / 438 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.318e-05/0.2787, allocations: 70.72 kB / 438.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003201/0.2791, allocations: 76.58 kB / 438.1 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004912/0.2795, allocations: 270.3 kB / 438.4 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/0.2796, allocations: 25.03 kB / 438.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.824e-05/0.2796, allocations: 36.36 kB / 438.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006766/0.2803, allocations: 435.9 kB / 438.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.2803, allocations: 0 / 438.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/0.2803, allocations: 16 kB / 438.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.2804, allocations: 8 kB / 438.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005341/0.2809, allocations: 270.4 kB / 439.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001966/0.2829, allocations: 1.287 MB / 440.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004125/0.2833, allocations: 198.8 kB / 440.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/0.2835, allocations: 101.2 kB / 440.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.2835, allocations: 4 kB / 440.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.2835, allocations: 42.42 kB / 440.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.523e-06/0.2835, allocations: 0 / 440.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001403/0.2849, allocations: 487.2 kB / 441.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.285, allocations: 59.41 kB / 441.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000368/0.2854, allocations: 312.5 kB / 441.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.2854, allocations: 29.7 kB / 441.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.2856, allocations: 216.4 kB / 441.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.002e-05/0.2856, allocations: 87.25 kB / 442 MB, free: 11.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.703e-05/0.2857, allocations: 49.7 kB / 442 MB, free: 11.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.2859, allocations: 338.8 kB / 442.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.2861, allocations: 83.89 kB / 442.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.2863, allocations: 124.2 kB / 442.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004043/0.2867, allocations: 204.2 kB / 442.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2867, allocations: 0 / 442.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000732/0.2875, allocations: 351.7 kB / 443.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.2875, allocations: 8 kB / 443.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.2875, allocations: 0 / 443.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004287/0.2879, allocations: 118.5 kB / 443.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.2881, allocations: 43.84 kB / 443.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004393/0.2925, allocations: 4.637 MB / 447.9 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.2927, allocations: 23.84 kB / 447.9 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.2927, allocations: 11.98 kB / 447.9 MB, free: 5.09 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.0002105/0.293, allocations: 156.1 kB / 448.1 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.652e-05/0.293, allocations: 35.77 kB / 448.1 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.572e-05/0.2931, allocations: 39.27 kB / 448.2 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.2931, allocations: 4 kB / 448.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2931, allocations: 0 / 448.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.2931, allocations: 0 / 448.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004412/0.2935, allocations: 312.5 kB / 448.5 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2935, allocations: 4.062 kB / 448.5 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.2937, allocations: 23.98 kB / 448.5 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003206/0.294, allocations: 114.5 kB / 448.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.294, allocations: 11.98 kB / 448.6 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004155/0.2981, allocations: 4.638 MB / 453.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.2982, allocations: 4.031 kB / 453.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000616/0.2988, allocations: 393.6 kB / 453.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.2989, allocations: 47.73 kB / 453.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.686e-05/0.2989, allocations: 8 kB / 453.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.2991, allocations: 28.22 kB / 453.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.518e-05/0.2992, allocations: 27.89 kB / 453.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.2992, allocations: 12.28 kB / 453.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002318/0.2995, allocations: 219.1 kB / 454 MB, free: 14.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2995, allocations: 0 / 454 MB, free: 14.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006572/0.3001, allocations: 123.7 kB / 454.1 MB, free: 14.5 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.001038/0.3012, allocations: 0.94 MB / 455 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009174/0.3021, allocations: 0.5543 MB / 455.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3021, allocations: 0 / 455.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006395/0.3027, allocations: 483.9 kB / 456.1 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.3031, allocations: 55.88 kB / 456.1 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004574/0.3077, allocations: 3.163 MB / 459.3 MB, free: 9.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.3079, allocations: 194.8 kB / 459.5 MB, free: 8.883 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.3081, allocations: 22.98 kB / 459.5 MB, free: 8.863 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.3082, allocations: 107.4 kB / 459.6 MB, free: 8.758 MB / 366.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3082, allocations: 4 kB / 459.6 MB, free: 8.754 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04547/0.3537, allocations: 9.362 MB / 469 MB, free: 15.6 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/12.75, allocations: 6.344 kB / 469 MB, free: 15.6 MB / 382.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.csv","/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] "Error: Could not read variable With_Ron_Goff.v in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.csv. Warning: Get data of variable With_Ron_Goff.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.csv failed! Error: Could not read variable With_Ron_Goff_Vknee.v in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.csv. Warning: Get data of variable With_Ron_Goff_Vknee.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.343083704006858]