Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.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.002066/0.002066, allocations: 115.5 kB / 18.45 MB, free: 4.625 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.002625/0.002625, allocations: 211.3 kB / 21.41 MB, free: 1.672 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.625/1.625, allocations: 207.6 MB / 231.8 MB, free: 3.973 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.HeatingRectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingRectifier",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.001833/0.001833, allocations: 51.94 kB / 342.3 MB, free: 10.1 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1203, allocations: 49.12 MB / 391.4 MB, free: 8.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.005749/0.1261, allocations: 2.477 MB / 393.9 MB, free: 6.324 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.1278, allocations: 0.6864 MB / 394.6 MB, free: 5.633 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.1279, allocations: 4 kB / 394.6 MB, free: 5.629 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001861/0.1281, allocations: 35.66 kB / 394.6 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001684/0.1283, allocations: 71.33 kB / 394.7 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003882/0.1287, allocations: 83.78 kB / 394.8 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003842/0.129, allocations: 278.7 kB / 395 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002323/0.1293, allocations: 60.58 kB / 395.1 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002008/0.1295, allocations: 115.6 kB / 395.2 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002261/0.1297, allocations: 119.5 kB / 395.3 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.225e-05/0.1297, allocations: 23.94 kB / 395.3 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.1299, allocations: 35.98 kB / 395.4 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.036e-05/0.1299, allocations: 51.78 kB / 395.4 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.1301, allocations: 123.5 kB / 395.6 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004523/0.1305, allocations: 274.9 kB / 395.8 MB, free: 4.379 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.1305, allocations: 4 kB / 395.8 MB, free: 4.375 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1305, allocations: 0 / 395.8 MB, free: 4.375 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.1305, allocations: 4 kB / 395.8 MB, free: 4.371 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001047/0.1316, allocations: 0.5338 MB / 396.4 MB, free: 3.789 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.1316, allocations: 8.031 kB / 396.4 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.726e-05/0.1317, allocations: 54.73 kB / 396.4 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.604e-05/0.1318, allocations: 28.8 kB / 396.5 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004711/0.1323, allocations: 237.6 kB / 396.7 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/0.1323, allocations: 16.75 kB / 396.7 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.468e-05/0.1324, allocations: 24.12 kB / 396.7 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004402/0.1328, allocations: 191.3 kB / 396.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.1328, allocations: 0 / 396.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.149e-05/0.1328, allocations: 8 kB / 396.9 MB, free: 3.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.1329, allocations: 4 kB / 396.9 MB, free: 3.176 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003733/0.1332, allocations: 149.7 kB / 397.1 MB, free: 3.031 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/0.135, allocations: 0.9259 MB / 398 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004037/0.1354, allocations: 150.5 kB / 398.1 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/0.1356, allocations: 80.83 kB / 398.2 MB, free: 1.758 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.085e-05/0.1357, allocations: 4 kB / 398.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/0.1357, allocations: 38.55 kB / 398.3 MB, free: 1.707 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.432e-06/0.1357, allocations: 0 / 398.3 MB, free: 1.707 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001464/0.1372, allocations: 419.4 kB / 398.7 MB, free: 1.27 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.1372, allocations: 51.41 kB / 398.7 MB, free: 1.207 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.1374, allocations: 166.4 kB / 398.9 MB, free: 1.031 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.1375, allocations: 29.7 kB / 398.9 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.1376, allocations: 152.2 kB / 399.1 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.701e-05/0.1377, allocations: 67.42 kB / 399.1 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.061e-05/0.1378, allocations: 41.7 kB / 399.2 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002603/0.138, allocations: 334.7 kB / 399.5 MB, free: 404 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.1381, allocations: 47.97 kB / 399.5 MB, free: 356 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.1383, allocations: 69.69 kB / 399.6 MB, free: 280 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/0.1385, allocations: 125.7 kB / 399.7 MB, free: 148 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1385, allocations: 0 / 399.7 MB, free: 148 kB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004812/0.139, allocations: 226.3 kB / 400 MB, free: 15.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.1391, allocations: 11.94 kB / 400 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.1391, allocations: 0 / 400 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001415/0.1405, allocations: 216.6 kB / 400.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.1406, allocations: 43.91 kB / 400.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007165/0.1414, allocations: 0.603 MB / 400.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.1415, allocations: 7.984 kB / 400.8 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.1415, allocations: 12 kB / 400.8 MB, free: 15 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002221/0.1417, allocations: 137.7 kB / 401 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.311e-05/0.1418, allocations: 19.97 kB / 401 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005728/0.1424, allocations: 224.2 kB / 401.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1424, allocations: 0 / 401.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.1424, allocations: 0 / 401.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.1424, allocations: 0 / 401.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.1435, allocations: 0.5896 MB / 401.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1435, allocations: 0 / 401.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/0.1437, allocations: 31.97 kB / 401.8 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001081/0.1448, allocations: 196.6 kB / 402 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.1448, allocations: 15.92 kB / 402 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006217/0.1455, allocations: 0.6226 MB / 402.7 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1455, allocations: 0 / 402.7 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.1465, allocations: 424.8 kB / 403.1 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.02e-05/0.1466, allocations: 92.98 kB / 403.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.772e-05/0.1467, allocations: 11.98 kB / 403.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.1468, allocations: 4 kB / 403.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.024e-05/0.1469, allocations: 11.98 kB / 403.2 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.1469, allocations: 8 kB / 403.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001384/0.147, allocations: 132.2 kB / 403.3 MB, free: 12.35 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.147, allocations: 0 / 403.3 MB, free: 12.35 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003624/0.1474, allocations: 64.03 kB / 403.4 MB, free: 12.29 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * 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: 1 * 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): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001534/0.1489, allocations: 0.9718 MB / 404.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000542/0.1495, allocations: 135.9 kB / 404.5 MB, free: 11.15 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.85e-06/0.1495, allocations: 0 / 404.5 MB, free: 11.15 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002534/0.1497, allocations: 87.88 kB / 404.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004346/0.1501, allocations: 44.08 kB / 404.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003514/0.1537, allocations: 2.292 MB / 406.9 MB, free: 8.629 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/0.1541, allocations: 0.7398 MB / 407.7 MB, free: 7.863 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.125e-05/0.1541, allocations: 13.48 kB / 407.7 MB, free: 7.852 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.737e-05/0.1542, allocations: 59.42 kB / 407.7 MB, free: 7.793 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1542, allocations: 4 kB / 407.7 MB, free: 7.789 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03519/0.1894, allocations: 4.736 MB / 412.5 MB, free: 3 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/12.71, allocations: 4 kB / 412.5 MB, free: 2.996 MB / 334.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingRectifier.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.541541725004208]