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.001753/0.001753, allocations: 118 kB / 18.45 MB, free: 4.566 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.002183/0.002183, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.867/1.867, allocations: 207.6 MB / 231.8 MB, free: 4.059 MB / 174.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.00186/0.00186, allocations: 47.94 kB / 342.3 MB, free: 9.984 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1319, allocations: 49.12 MB / 391.4 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.006215/0.1381, allocations: 3.461 MB / 394.9 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002157/0.1403, allocations: 0.799 MB / 395.7 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004858/0.1408, allocations: 4 kB / 395.7 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002652/0.1411, allocations: 71.3 kB / 395.7 MB, free: 4.336 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004191/0.1415, allocations: 134.8 kB / 395.9 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000489/0.142, allocations: 111.9 kB / 396 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007957/0.1428, allocations: 0.4976 MB / 396.5 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003498/0.1431, allocations: 103.3 kB / 396.6 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003625/0.1435, allocations: 195.3 kB / 396.8 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003345/0.1438, allocations: 211 kB / 397 MB, free: 3.09 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.637e-05/0.1439, allocations: 40 kB / 397 MB, free: 3.051 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.582e-05/0.144, allocations: 40 kB / 397.1 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.1441, allocations: 87.69 kB / 397.1 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000241/0.1443, allocations: 218.9 kB / 397.4 MB, free: 2.711 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006013/0.1449, allocations: 497.9 kB / 397.8 MB, free: 2.223 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.1449, allocations: 7.984 kB / 397.9 MB, free: 2.215 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1449, allocations: 0 / 397.9 MB, free: 2.215 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.145, allocations: 3.938 kB / 397.9 MB, free: 2.211 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.001336/0.1463, allocations: 0.732 MB / 398.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.1463, allocations: 8.031 kB / 398.6 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.621e-05/0.1464, allocations: 70.72 kB / 398.7 MB, free: 1.344 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.1465, allocations: 48.66 kB / 398.7 MB, free: 1.297 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005094/0.147, allocations: 311.6 kB / 399 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.372e-05/0.1471, allocations: 25.03 kB / 399 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.694e-05/0.1471, allocations: 28.38 kB / 399.1 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008132/0.1479, allocations: 362.8 kB / 399.4 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.148, allocations: 4 kB / 399.4 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.094e-05/0.148, allocations: 8 kB / 399.4 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.082e-05/0.148, allocations: 8 kB / 399.4 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006098/0.1486, allocations: 270.4 kB / 399.7 MB, free: 252 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002419/0.1511, allocations: 1.415 MB / 401.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004748/0.1515, allocations: 198.5 kB / 401.3 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002458/0.1518, allocations: 104.8 kB / 401.4 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.1518, allocations: 3.984 kB / 401.4 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.848e-05/0.1519, allocations: 34.56 kB / 401.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 2.655e-06/0.1519, allocations: 0 / 401.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001827/0.1537, allocations: 0.7023 MB / 402.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.1537, allocations: 51.41 kB / 402.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004082/0.1541, allocations: 312.5 kB / 402.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.39e-05/0.1542, allocations: 33.7 kB / 402.6 MB, free: 13.19 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/0.1544, allocations: 212.5 kB / 402.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.636e-05/0.1545, allocations: 75.31 kB / 402.8 MB, free: 12.9 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.1546, allocations: 49.66 kB / 402.9 MB, free: 12.85 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.1548, allocations: 342.8 kB / 403.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.155, allocations: 75.95 kB / 403.3 MB, free: 12.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/0.1552, allocations: 136.2 kB / 403.4 MB, free: 12.28 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004473/0.1556, allocations: 200.1 kB / 403.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.1556, allocations: 8 kB / 403.6 MB, free: 12.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008019/0.1564, allocations: 347.7 kB / 404 MB, free: 11.71 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.1565, allocations: 4.281 kB / 404 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.1565, allocations: 4 kB / 404 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004691/0.1569, allocations: 122.5 kB / 404.1 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.1571, allocations: 35.8 kB / 404.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005006/0.1622, allocations: 4.971 MB / 409.1 MB, free: 6.141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003015/0.1625, allocations: 32.02 kB / 409.1 MB, free: 6.109 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.1625, allocations: 12 kB / 409.1 MB, free: 6.098 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.0002272/0.1627, allocations: 149.8 kB / 409.3 MB, free: 5.941 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.071e-05/0.1628, allocations: 35.81 kB / 409.3 MB, free: 5.906 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.603e-05/0.1629, allocations: 39.11 kB / 409.4 MB, free: 5.867 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1629, allocations: 4 kB / 409.4 MB, free: 5.863 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.1629, allocations: 0 / 409.4 MB, free: 5.863 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.1629, allocations: 3.984 kB / 409.4 MB, free: 5.859 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005156/0.1634, allocations: 377.2 kB / 409.7 MB, free: 5.441 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1634, allocations: 0 / 409.7 MB, free: 5.441 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.1635, allocations: 23.97 kB / 409.8 MB, free: 5.418 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003803/0.1639, allocations: 118.5 kB / 409.9 MB, free: 5.293 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.1639, allocations: 4 kB / 409.9 MB, free: 5.289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004539/0.1685, allocations: 4.959 MB / 414.8 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1685, allocations: 3.938 kB / 414.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007534/0.1692, allocations: 401.6 kB / 415.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001882/0.1694, allocations: 132.8 kB / 415.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/0.1694, allocations: 8 kB / 415.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.1697, allocations: 11.98 kB / 415.4 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.1698, allocations: 35.91 kB / 415.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.1698, allocations: 4 kB / 415.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002661/0.1701, allocations: 219.1 kB / 415.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1701, allocations: 0 / 415.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007276/0.1708, allocations: 115.8 kB / 415.8 MB, free: 14.96 MB / 350.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.001188/0.172, allocations: 0.9419 MB / 416.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.173, allocations: 0.5545 MB / 417.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.1731, allocations: 0 / 417.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006014/0.1737, allocations: 475.8 kB / 417.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004856/0.1741, allocations: 69.53 kB / 417.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005132/0.1793, allocations: 3.127 MB / 420.9 MB, free: 9.559 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005325/0.1798, allocations: 0.7992 MB / 421.7 MB, free: 8.734 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001428/0.1799, allocations: 26.95 kB / 421.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/0.1801, allocations: 107.3 kB / 421.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of SimCode: time 1.613e-06/0.1801, allocations: 4 kB / 421.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0469/0.227, allocations: 8.676 MB / 430.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/13.24, allocations: 12 kB / 430.5 MB, free: 15.85 MB / 366.1 MB " [Timeout remaining time 647] (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: 16.47112111200113]