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.000908/0.000908, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003868/0.003868, allocations: 166.4 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8341/0.8341, allocations: 158.6 MB / 186.5 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.061e-05/1.236e-05, allocations: 2.281 kB / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.002811/0.002823, allocations: 3.143 MB / 301.6 MB, free: 352 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1244/0.1272, allocations: 0.7599 MB / 302.3 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002843/0.1275, allocations: 9.375 kB / 302.4 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001547/0.1276, allocations: 65.47 kB / 302.4 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.1278, allocations: 142.1 kB / 302.6 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.1281, allocations: 116.2 kB / 302.7 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003868/0.1285, allocations: 0.5174 MB / 303.2 MB, free: 12.97 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.1287, allocations: 98.3 kB / 303.3 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002597/0.1289, allocations: 283.7 kB / 303.6 MB, free: 12.93 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.1291, allocations: 153 kB / 303.7 MB, free: 12.91 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.154e-05/0.1291, allocations: 38.94 kB / 303.8 MB, free: 12.91 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.324e-05/0.1292, allocations: 40.75 kB / 303.8 MB, free: 12.91 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.1292, allocations: 94.56 kB / 303.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.1293, allocations: 152.6 kB / 304 MB, free: 12.88 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003689/0.1297, allocations: 0.5033 MB / 304.5 MB, free: 12.8 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1297, allocations: 0 / 304.5 MB, free: 12.8 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1297, allocations: 0 / 304.5 MB, free: 12.8 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.1297, allocations: 1.188 kB / 304.5 MB, free: 12.8 MB / 282.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.0006635/0.1304, allocations: 0.647 MB / 305.2 MB, free: 12.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.1304, allocations: 9.156 kB / 305.2 MB, free: 12.32 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.802e-05/0.1304, allocations: 69.14 kB / 305.3 MB, free: 12.26 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.201e-05/0.1305, allocations: 50.28 kB / 305.3 MB, free: 12.24 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.1308, allocations: 257.6 kB / 305.6 MB, free: 12.04 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.1308, allocations: 21.31 kB / 305.6 MB, free: 12.03 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.1308, allocations: 33.19 kB / 305.6 MB, free: 12.02 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004321/0.1313, allocations: 439.4 kB / 306 MB, free: 11.75 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1313, allocations: 192 / 306 MB, free: 11.75 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.1313, allocations: 15.47 kB / 306.1 MB, free: 11.73 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.1313, allocations: 8.969 kB / 306.1 MB, free: 11.73 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003702/0.1317, allocations: 269.9 kB / 306.3 MB, free: 11.65 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.1329, allocations: 1.295 MB / 307.6 MB, free: 10.7 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002703/0.1331, allocations: 202.1 kB / 307.8 MB, free: 10.61 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.1333, allocations: 94.45 kB / 307.9 MB, free: 10.57 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.1333, allocations: 4.141 kB / 307.9 MB, free: 10.57 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.1333, allocations: 36.88 kB / 308 MB, free: 10.53 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 1.183e-06/0.1333, allocations: 1.031 kB / 308 MB, free: 10.53 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008359/0.1341, allocations: 474.5 kB / 308.4 MB, free: 10.35 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.135e-05/0.1342, allocations: 58.58 kB / 308.5 MB, free: 10.28 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.1344, allocations: 309.8 kB / 308.8 MB, free: 10.12 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.1344, allocations: 31.05 kB / 308.8 MB, free: 10.08 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.452e-05/0.1345, allocations: 212.3 kB / 309 MB, free: 9.906 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/0.1345, allocations: 84.23 kB / 309.1 MB, free: 9.84 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.768e-05/0.1346, allocations: 47.58 kB / 309.1 MB, free: 9.809 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.999e-05/0.1347, allocations: 343.2 kB / 309.5 MB, free: 9.48 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.1348, allocations: 78.02 kB / 309.6 MB, free: 9.457 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.1349, allocations: 123.8 kB / 309.7 MB, free: 9.383 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002443/0.1352, allocations: 202 kB / 309.9 MB, free: 9.273 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1352, allocations: 0 / 309.9 MB, free: 9.273 MB / 282.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004208/0.1356, allocations: 356.1 kB / 310.2 MB, free: 9.098 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1356, allocations: 5.469 kB / 310.2 MB, free: 9.098 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.1356, allocations: 1.219 kB / 310.2 MB, free: 9.098 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002655/0.1359, allocations: 126.6 kB / 310.4 MB, free: 9.039 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.136, allocations: 27.7 kB / 310.4 MB, free: 9.039 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001746/0.1377, allocations: 4.642 MB / 315 MB, free: 4.594 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.1378, allocations: 31 kB / 315.1 MB, free: 4.574 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.1378, allocations: 7.484 kB / 315.1 MB, free: 4.574 MB / 282.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 9.655e-05/0.1379, allocations: 146.2 kB / 315.2 MB, free: 4.438 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/0.138, allocations: 37.23 kB / 315.2 MB, free: 4.418 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.976e-05/0.138, allocations: 39.58 kB / 315.3 MB, free: 4.395 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.138, allocations: 6.219 kB / 315.3 MB, free: 4.391 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.138, allocations: 1.094 kB / 315.3 MB, free: 4.391 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.138, allocations: 1.5 kB / 315.3 MB, free: 4.391 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.1382, allocations: 310 kB / 315.6 MB, free: 4.168 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1382, allocations: 0 / 315.6 MB, free: 4.168 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.444e-05/0.1383, allocations: 21.83 kB / 315.6 MB, free: 4.168 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001884/0.1385, allocations: 117.5 kB / 315.7 MB, free: 4.113 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.1385, allocations: 1.266 kB / 315.7 MB, free: 4.113 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001569/0.1401, allocations: 4.64 MB / 320.4 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1401, allocations: 192 / 320.4 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003872/0.1404, allocations: 407.8 kB / 320.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.805e-05/0.1405, allocations: 52.38 kB / 320.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.1405, allocations: 2.078 kB / 320.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.1407, allocations: 24.62 kB / 320.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.796e-05/0.1407, allocations: 31.52 kB / 320.9 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.1407, allocations: 4.469 kB / 320.9 MB, free: 15.36 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001565/0.1409, allocations: 222.3 kB / 321.1 MB, free: 15.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1409, allocations: 0 / 321.1 MB, free: 15.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004268/0.1413, allocations: 113.9 kB / 321.2 MB, free: 15.21 MB / 298.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.0005625/0.1419, allocations: 0.9315 MB / 322.1 MB, free: 14.42 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005416/0.1424, allocations: 0.5598 MB / 322.7 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1424, allocations: 7.938 kB / 322.7 MB, free: 13.99 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003018/0.1427, allocations: 466.2 kB / 323.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.143, allocations: 58.55 kB / 323.2 MB, free: 13.59 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003235/0.1463, allocations: 3.119 MB / 326.3 MB, free: 11.55 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001606/0.1464, allocations: 201.6 kB / 326.5 MB, free: 11.45 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.179e-05/0.1465, allocations: 21.34 kB / 326.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.1466, allocations: 110.8 kB / 326.7 MB, free: 11.36 MB / 298.7 MB Notification: Performance of SimCode: time 9.32e-07/0.1466, allocations: 4 kB / 326.7 MB, free: 11.36 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02723/0.1738, allocations: 9.36 MB / 336 MB, free: 7.012 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.904/8.077, allocations: 1.438 kB / 336 MB, free: 7.012 MB / 298.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","/var/lib/jenkins/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: 9.779825272969902]