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.0009681/0.0009681, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008621/0.0008621, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9243/0.9243, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.433e-06/1.433e-06, allocations: 0 / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.987e-05/2.13e-05, allocations: 6.281 kB / 324.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.003364/0.003385, allocations: 3.211 MB / 327.7 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.004442, allocations: 0.8218 MB / 328.6 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.004573, allocations: 11.94 kB / 328.6 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.004704, allocations: 75.22 kB / 328.7 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.004866, allocations: 134.7 kB / 328.8 MB, free: 11.58 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003067/0.005172, allocations: 139.7 kB / 328.9 MB, free: 11.44 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004266/0.005599, allocations: 0.5441 MB / 329.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.005751, allocations: 91.64 kB / 329.6 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003155/0.006066, allocations: 291.4 kB / 329.8 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.006206, allocations: 159.5 kB / 330 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.373e-05/0.00629, allocations: 40 kB / 330 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.674e-05/0.006357, allocations: 40 kB / 330.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.82e-05/0.006405, allocations: 99.59 kB / 330.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.851e-05/0.006493, allocations: 147.7 kB / 330.3 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003486/0.006842, allocations: 0.51 MB / 330.8 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.006844, allocations: 0 / 330.8 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.006845, allocations: 0 / 330.8 MB, free: 9.527 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.8e-06/0.006851, allocations: 0 / 330.8 MB, free: 9.527 MB / 298.7 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.0007183/0.007569, allocations: 0.6645 MB / 331.5 MB, free: 8.832 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.007601, allocations: 8.031 kB / 331.5 MB, free: 8.824 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.864e-05/0.00765, allocations: 70.72 kB / 331.6 MB, free: 8.746 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/0.007823, allocations: 80.58 kB / 331.6 MB, free: 8.668 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.008115, allocations: 261.6 kB / 331.9 MB, free: 8.383 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.008131, allocations: 25.03 kB / 331.9 MB, free: 8.359 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.00816, allocations: 32.38 kB / 332 MB, free: 8.328 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004001/0.00856, allocations: 436.3 kB / 332.4 MB, free: 7.863 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.00857, allocations: 192 / 332.4 MB, free: 7.863 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.008594, allocations: 20.12 kB / 332.4 MB, free: 7.844 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.008601, allocations: 12 kB / 332.4 MB, free: 7.832 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005513/0.009152, allocations: 266.4 kB / 332.7 MB, free: 7.574 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.01029, allocations: 1.28 MB / 334 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.01055, allocations: 203.3 kB / 334.2 MB, free: 5.996 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.01067, allocations: 92.81 kB / 334.2 MB, free: 5.902 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.01069, allocations: 11.94 kB / 334.3 MB, free: 5.891 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.01071, allocations: 38.5 kB / 334.3 MB, free: 5.844 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 9.82e-07/0.01071, allocations: 0 / 334.3 MB, free: 5.844 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.000806/0.01152, allocations: 481.3 kB / 334.8 MB, free: 5.359 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.01155, allocations: 59.34 kB / 334.8 MB, free: 5.289 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.01177, allocations: 316.5 kB / 335.1 MB, free: 4.969 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.01179, allocations: 25.7 kB / 335.2 MB, free: 4.938 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.01189, allocations: 220.4 kB / 335.4 MB, free: 4.719 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.01193, allocations: 71.34 kB / 335.4 MB, free: 4.648 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.606e-05/0.01198, allocations: 49.7 kB / 335.5 MB, free: 4.594 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.691e-05/0.01207, allocations: 342.8 kB / 335.8 MB, free: 4.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.01218, allocations: 79.97 kB / 335.9 MB, free: 4.172 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.01232, allocations: 128.2 kB / 336 MB, free: 4.031 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004853/0.0128, allocations: 196.1 kB / 336.2 MB, free: 3.824 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.0128, allocations: 8 kB / 336.2 MB, free: 3.816 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004171/0.01322, allocations: 351.7 kB / 336.6 MB, free: 3.457 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.01324, allocations: 8 kB / 336.6 MB, free: 3.449 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.01324, allocations: 0 / 336.6 MB, free: 3.449 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003145/0.01356, allocations: 118.4 kB / 336.7 MB, free: 3.324 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.01366, allocations: 31.97 kB / 336.7 MB, free: 3.293 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002904/0.01656, allocations: 4.637 MB / 341.4 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.785e-05/0.01666, allocations: 36 kB / 341.4 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.01667, allocations: 8 kB / 341.4 MB, free: 14.27 MB / 314.7 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.0001116/0.01678, allocations: 154 kB / 341.6 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.694e-05/0.01682, allocations: 39.98 kB / 341.6 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.157e-05/0.01685, allocations: 39.27 kB / 341.6 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.01686, allocations: 8 kB / 341.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.01686, allocations: 3.938 kB / 341.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.01686, allocations: 3.984 kB / 341.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.01711, allocations: 308.5 kB / 341.9 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.01712, allocations: 0 / 341.9 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.37e-05/0.01717, allocations: 27.97 kB / 342 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000177/0.01735, allocations: 110.4 kB / 342.1 MB, free: 13.53 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.01736, allocations: 8 kB / 342.1 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00238/0.01974, allocations: 4.635 MB / 346.7 MB, free: 8.547 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01974, allocations: 0 / 346.7 MB, free: 8.547 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000487/0.02023, allocations: 401.6 kB / 347.1 MB, free: 8.129 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.0204, allocations: 55.84 kB / 347.2 MB, free: 8.074 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/0.02043, allocations: 8 kB / 347.2 MB, free: 8.066 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.02062, allocations: 19.98 kB / 347.2 MB, free: 8.047 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.297e-05/0.0207, allocations: 23.95 kB / 347.2 MB, free: 8.023 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.02071, allocations: 8 kB / 347.2 MB, free: 8.016 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001697/0.02088, allocations: 219.1 kB / 347.4 MB, free: 7.805 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02088, allocations: 0 / 347.4 MB, free: 7.805 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004916/0.02137, allocations: 115.8 kB / 347.6 MB, free: 7.691 MB / 314.7 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.0006744/0.02205, allocations: 0.9333 MB / 348.5 MB, free: 6.719 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005905/0.02264, allocations: 0.5628 MB / 349.1 MB, free: 6.117 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.02264, allocations: 0 / 349.1 MB, free: 6.117 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003924/0.02303, allocations: 483.6 kB / 349.5 MB, free: 5.605 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.02336, allocations: 62.09 kB / 349.6 MB, free: 5.547 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003139/0.0265, allocations: 3.158 MB / 352.7 MB, free: 2.266 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/0.02666, allocations: 194.7 kB / 352.9 MB, free: 2.055 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.724e-05/0.02676, allocations: 22.98 kB / 353 MB, free: 2.031 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.02687, allocations: 116.5 kB / 353.1 MB, free: 1.918 MB / 314.7 MB Notification: Performance of SimCode: time 1.342e-06/0.02687, allocations: 0 / 353.1 MB, free: 1.918 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02993/0.0568, allocations: 9.432 MB / 362.5 MB, free: 8.652 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.699/7.756, allocations: 7.922 kB / 362.5 MB, free: 8.645 MB / 330.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","/var/lib/jenkins/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: 9.642834795638919]