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.001717/0.001717, allocations: 131.4 kB / 17.8 MB, free: 5.219 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.00191/0.00191, allocations: 211.6 kB / 20.75 MB, free: 2.27 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.415/1.415, allocations: 230.5 MB / 254 MB, free: 15.16 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 67.91 kB / 373 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1071, allocations: 53.37 MB / 426.4 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.004763/0.1118, allocations: 3.533 MB / 429.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.1133, allocations: 0.8607 MB / 430.8 MB, free: 232 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.1135, allocations: 4 kB / 430.8 MB, free: 228 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001911/0.1137, allocations: 71.3 kB / 430.8 MB, free: 156 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002271/0.1139, allocations: 134.8 kB / 431 MB, free: 20 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003777/0.1143, allocations: 135.8 kB / 431.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005769/0.1148, allocations: 0.5171 MB / 431.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002138/0.1151, allocations: 99.28 kB / 431.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002824/0.1153, allocations: 191.3 kB / 431.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000254/0.1156, allocations: 215 kB / 432.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.992e-05/0.1157, allocations: 40 kB / 432.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.1158, allocations: 43.98 kB / 432.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.245e-05/0.1159, allocations: 95.61 kB / 432.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001982/0.1161, allocations: 218.9 kB / 432.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005444/0.1166, allocations: 0.5018 MB / 433 MB, free: 13.97 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1166, allocations: 0 / 433 MB, free: 13.97 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1166, allocations: 0 / 433 MB, free: 13.97 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.216e-06/0.1166, allocations: 0 / 433 MB, free: 13.97 MB / 366.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.00119/0.1178, allocations: 0.7398 MB / 433.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.1179, allocations: 12.03 kB / 433.8 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.119e-05/0.1179, allocations: 66.72 kB / 433.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003508/0.1183, allocations: 76.58 kB / 433.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004914/0.1188, allocations: 327.5 kB / 434.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.1188, allocations: 29.03 kB / 434.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.119e-05/0.1189, allocations: 32.38 kB / 434.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006374/0.1195, allocations: 350.9 kB / 434.6 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.1195, allocations: 4 kB / 434.6 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.1195, allocations: 12 kB / 434.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.1196, allocations: 12 kB / 434.6 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005704/0.1201, allocations: 274.4 kB / 434.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002011/0.1221, allocations: 1.415 MB / 436.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004132/0.1225, allocations: 208.5 kB / 436.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/0.1228, allocations: 97.22 kB / 436.6 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.1228, allocations: 4 kB / 436.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.1228, allocations: 42.42 kB / 436.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.653e-06/0.1228, allocations: 0 / 436.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.001586/0.1244, allocations: 0.702 MB / 437.4 MB, free: 9.301 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.1245, allocations: 51.41 kB / 437.4 MB, free: 9.238 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003249/0.1248, allocations: 308.6 kB / 437.7 MB, free: 8.926 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.1248, allocations: 33.7 kB / 437.8 MB, free: 8.887 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.125, allocations: 220.4 kB / 438 MB, free: 8.668 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.861e-05/0.125, allocations: 75.34 kB / 438 MB, free: 8.594 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.744e-05/0.1251, allocations: 53.59 kB / 438.1 MB, free: 8.535 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1253, allocations: 346.8 kB / 438.4 MB, free: 8.188 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.1255, allocations: 79.97 kB / 438.5 MB, free: 8.109 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.1257, allocations: 124.2 kB / 438.6 MB, free: 7.973 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000389/0.1261, allocations: 208.1 kB / 438.8 MB, free: 7.754 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1261, allocations: 0 / 438.8 MB, free: 7.754 MB / 366.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007193/0.1268, allocations: 347.7 kB / 439.2 MB, free: 7.398 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.1268, allocations: 8 kB / 439.2 MB, free: 7.391 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1268, allocations: 0 / 439.2 MB, free: 7.391 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004141/0.1272, allocations: 118.5 kB / 439.3 MB, free: 7.266 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.1274, allocations: 31.92 kB / 439.3 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004188/0.1316, allocations: 4.975 MB / 444.3 MB, free: 1.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.1318, allocations: 27.94 kB / 444.3 MB, free: 1.812 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.1319, allocations: 11.98 kB / 444.3 MB, free: 1.801 MB / 366.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.0001957/0.1321, allocations: 153.7 kB / 444.5 MB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.432e-05/0.1321, allocations: 31.81 kB / 444.5 MB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.349e-05/0.1322, allocations: 39.17 kB / 444.6 MB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1322, allocations: 4 kB / 444.6 MB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.1322, allocations: 0 / 444.6 MB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1322, allocations: 4 kB / 444.6 MB, free: 1.562 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004391/0.1326, allocations: 381.2 kB / 444.9 MB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1326, allocations: 288 / 444.9 MB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.1328, allocations: 19.98 kB / 445 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003332/0.1331, allocations: 114.4 kB / 445.1 MB, free: 1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.1331, allocations: 19.98 kB / 445.1 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1795/0.3126, allocations: 4.955 MB / 450 MB, free: 19.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.3126, allocations: 1.062 kB / 450.1 MB, free: 19.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000582/0.3132, allocations: 400.7 kB / 450.4 MB, free: 19.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.3133, allocations: 128.4 kB / 450.6 MB, free: 19.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.163e-05/0.3134, allocations: 8.938 kB / 450.6 MB, free: 19.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.3136, allocations: 21.42 kB / 450.6 MB, free: 19.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.674e-05/0.3137, allocations: 25.34 kB / 450.6 MB, free: 19.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.3137, allocations: 5.5 kB / 450.6 MB, free: 19.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001919/0.3139, allocations: 224.4 kB / 450.8 MB, free: 19.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3139, allocations: 2.125 kB / 450.8 MB, free: 19.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006289/0.3145, allocations: 112.9 kB / 451 MB, free: 19.54 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.0006745/0.3152, allocations: 0.9486 MB / 451.9 MB, free: 18.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007498/0.3159, allocations: 0.5569 MB / 452.5 MB, free: 18.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3159, allocations: 0 / 452.5 MB, free: 18.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003918/0.3163, allocations: 482.9 kB / 452.9 MB, free: 18.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003922/0.3167, allocations: 58.39 kB / 453 MB, free: 18.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003605/0.3203, allocations: 3.149 MB / 456.1 MB, free: 16.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.3205, allocations: 0.8015 MB / 456.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001151/0.3207, allocations: 25.14 kB / 457 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.3208, allocations: 109.7 kB / 457.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of SimCode: time 4e-07/0.3208, allocations: 0 / 457.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04504/0.3658, allocations: 8.776 MB / 465.9 MB, free: 14.49 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.75, allocations: 8.25 kB / 465.9 MB, free: 14.48 MB / 366.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.csv. Warning: Get data of variable With_Ron_Goff.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.csv failed! Error: Could not read variable With_Ron_Goff_Vknee.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.csv. Warning: Get data of variable With_Ron_Goff_Vknee.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.292230005026795]