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.001882/0.001882, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002488/0.002488, allocations: 214.3 kB / 23.73 MB, free: 4.164 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.454/1.454, allocations: 230.5 MB / 257.4 MB, free: 7.797 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.001944/0.001944, allocations: 67.89 kB / 377.7 MB, free: 2.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3038, allocations: 53.41 MB / 431.1 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.004903/0.3087, allocations: 3.211 MB / 434.4 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.3107, allocations: 0.814 MB / 435.2 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002846/0.311, allocations: 15.94 kB / 435.2 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002375/0.3112, allocations: 67.3 kB / 435.3 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002946/0.3115, allocations: 134.8 kB / 435.4 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000467/0.312, allocations: 139.8 kB / 435.5 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005978/0.3126, allocations: 0.5133 MB / 436 MB, free: 1.559 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002316/0.3128, allocations: 95.59 kB / 436.1 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002956/0.3131, allocations: 199.3 kB / 436.3 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.3133, allocations: 191 kB / 436.5 MB, free: 1.078 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.826e-05/0.3134, allocations: 40 kB / 436.5 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.3135, allocations: 44 kB / 436.6 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.979e-05/0.3136, allocations: 87.62 kB / 436.7 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.3137, allocations: 187.1 kB / 436.9 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005198/0.3143, allocations: 0.494 MB / 437.4 MB, free: 236 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3143, allocations: 4 kB / 437.4 MB, free: 232 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.3143, allocations: 0 / 437.4 MB, free: 232 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.3143, allocations: 4 kB / 437.4 MB, free: 228 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.001166/0.3155, allocations: 0.6604 MB / 438 MB, free: 15.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.3155, allocations: 11.97 kB / 438 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.81e-05/0.3156, allocations: 74.72 kB / 438.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003724/0.316, allocations: 80.56 kB / 438.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005397/0.3165, allocations: 266.3 kB / 438.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.3165, allocations: 25.03 kB / 438.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.048e-05/0.3166, allocations: 32.38 kB / 438.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006708/0.3173, allocations: 440.1 kB / 438.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.3173, allocations: 0 / 438.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.165e-05/0.3173, allocations: 12 kB / 438.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.3173, allocations: 8 kB / 438.9 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006451/0.318, allocations: 266.4 kB / 439.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002152/0.3201, allocations: 1.298 MB / 440.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000495/0.3206, allocations: 209.5 kB / 440.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.3208, allocations: 93.22 kB / 440.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.3208, allocations: 4 kB / 440.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.3209, allocations: 38.42 kB / 440.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.513e-06/0.3209, allocations: 4 kB / 440.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001406/0.3223, allocations: 475.6 kB / 441.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.3223, allocations: 55.41 kB / 441.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003405/0.3227, allocations: 320.5 kB / 441.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.3227, allocations: 29.7 kB / 441.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.3228, allocations: 216.5 kB / 441.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.48e-05/0.3229, allocations: 83.27 kB / 442 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.357e-05/0.323, allocations: 45.7 kB / 442 MB, free: 11.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.3232, allocations: 346.8 kB / 442.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002895/0.3235, allocations: 79.95 kB / 442.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/0.3237, allocations: 121 kB / 442.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003976/0.3241, allocations: 204.1 kB / 442.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3241, allocations: 0 / 442.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007138/0.3248, allocations: 351.7 kB / 443.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.3248, allocations: 6.5 kB / 443.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.3248, allocations: 8.047 kB / 443.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000401/0.3252, allocations: 118.8 kB / 443.3 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.3254, allocations: 27.92 kB / 443.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003985/0.3294, allocations: 4.641 MB / 447.9 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.3296, allocations: 31.84 kB / 448 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.3296, allocations: 8 kB / 448 MB, free: 4.949 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.0001955/0.3298, allocations: 145.8 kB / 448.1 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.749e-05/0.3299, allocations: 39.83 kB / 448.1 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.148e-05/0.33, allocations: 43.27 kB / 448.2 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.33, allocations: 8.078 kB / 448.2 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.33, allocations: 3.984 kB / 448.2 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.33, allocations: 0 / 448.2 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004082/0.3304, allocations: 312.5 kB / 448.5 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3304, allocations: 0 / 448.5 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.3305, allocations: 23.92 kB / 448.5 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003352/0.3308, allocations: 118.6 kB / 448.6 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.3309, allocations: 7.938 kB / 448.6 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004124/0.335, allocations: 4.646 MB / 453.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.335, allocations: 0 / 453.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007442/0.3357, allocations: 398.5 kB / 453.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.3359, allocations: 51.73 kB / 453.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/0.3359, allocations: 4 kB / 453.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.3361, allocations: 19.98 kB / 453.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.3362, allocations: 27.95 kB / 453.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.3363, allocations: 15.92 kB / 453.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002613/0.3365, allocations: 227.1 kB / 454 MB, free: 14.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3365, allocations: 0 / 454 MB, free: 14.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007021/0.3372, allocations: 115.8 kB / 454.1 MB, free: 14.35 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.0009782/0.3382, allocations: 0.933 MB / 455.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001018/0.3392, allocations: 0.5582 MB / 455.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3392, allocations: 0 / 455.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005447/0.3398, allocations: 479.9 kB / 456.1 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.3402, allocations: 64.72 kB / 456.2 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004446/0.3446, allocations: 3.153 MB / 459.3 MB, free: 8.949 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002049/0.3449, allocations: 194.8 kB / 459.5 MB, free: 8.742 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001227/0.345, allocations: 27.02 kB / 459.5 MB, free: 8.719 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.3451, allocations: 115.4 kB / 459.6 MB, free: 8.605 MB / 366.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3451, allocations: 0 / 459.6 MB, free: 8.605 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04687/0.392, allocations: 9.292 MB / 468.9 MB, free: 15.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/12.93, allocations: 7.5 kB / 468.9 MB, free: 15.48 MB / 382.1 MB " [Timeout remaining time 647] (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: 15.493422560859472]