Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 103.9 kB / 17.58 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 196.1 kB / 18.51 MB, free: 4.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.386/1.386, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 52.14 kB / 280.8 MB, free: 3.082 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09025/0.09195, allocations: 46.62 MB / 327.4 MB, free: 4.387 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.005696/0.09768, allocations: 3.738 MB / 331.1 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002659/0.1004, allocations: 1.469 MB / 332.6 MB, free: 15.14 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001849/0.1006, allocations: 11.94 kB / 332.6 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001823/0.1024, allocations: 0.7739 MB / 333.4 MB, free: 14.35 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.1038, allocations: 0.552 MB / 333.9 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000963/0.1048, allocations: 426.5 kB / 334.3 MB, free: 13.38 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005681/0.1053, allocations: 493.7 kB / 334.8 MB, free: 12.89 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007789/0.1061, allocations: 470.2 kB / 335.3 MB, free: 12.43 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000366/0.1065, allocations: 223.2 kB / 335.5 MB, free: 12.21 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003701/0.1069, allocations: 298.8 kB / 335.8 MB, free: 11.91 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.71e-05/0.107, allocations: 44 kB / 335.8 MB, free: 11.87 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005106/0.1075, allocations: 211.8 kB / 336 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.1076, allocations: 111.6 kB / 336.2 MB, free: 11.55 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000256/0.1079, allocations: 258.7 kB / 336.4 MB, free: 11.3 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008646/0.1088, allocations: 0.7048 MB / 337.1 MB, free: 10.59 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1088, allocations: 0 / 337.1 MB, free: 10.59 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1088, allocations: 0 / 337.1 MB, free: 10.59 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.1088, allocations: 0 / 337.1 MB, free: 10.59 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.00228/0.1111, allocations: 0.9442 MB / 338.1 MB, free: 9.602 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.1111, allocations: 12.03 kB / 338.1 MB, free: 9.59 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001703/0.1113, allocations: 103.9 kB / 338.2 MB, free: 9.477 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004533/0.1159, allocations: 0.5857 MB / 338.8 MB, free: 8.891 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004688/0.1163, allocations: 323.6 kB / 339.1 MB, free: 8.535 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.739e-05/0.1164, allocations: 45.69 kB / 339.1 MB, free: 8.492 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.1165, allocations: 60.12 kB / 339.2 MB, free: 8.434 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.1176, allocations: 0.5687 MB / 339.7 MB, free: 7.859 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.1177, allocations: 4 kB / 339.7 MB, free: 7.855 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.065e-05/0.1177, allocations: 24 kB / 339.8 MB, free: 7.832 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.1177, allocations: 12 kB / 339.8 MB, free: 7.82 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/0.1191, allocations: 0.6532 MB / 340.4 MB, free: 7.164 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003609/0.1227, allocations: 2.067 MB / 342.5 MB, free: 4.973 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003509/0.1263, allocations: 2.993 MB / 345.5 MB, free: 1.41 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005333/0.1268, allocations: 274 kB / 345.8 MB, free: 1.141 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001071/0.1269, allocations: 97.5 kB / 345.9 MB, free: 1.027 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.127, allocations: 42.94 kB / 345.9 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 2.284e-06/0.127, allocations: 0 / 345.9 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.002204/0.1292, allocations: 0.7504 MB / 346.6 MB, free: 200 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.1293, allocations: 55.84 kB / 346.7 MB, free: 132 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003648/0.1296, allocations: 209 kB / 346.9 MB, free: 15.92 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/0.1297, allocations: 33.7 kB / 346.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.1299, allocations: 236.1 kB / 347.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.1301, allocations: 169.5 kB / 347.3 MB, free: 15.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.1302, allocations: 94.16 kB / 347.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002724/0.1305, allocations: 346.8 kB / 347.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003269/0.1308, allocations: 157 kB / 347.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005519/0.1314, allocations: 287.7 kB / 348.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007814/0.1322, allocations: 474.2 kB / 348.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1322, allocations: 0 / 348.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001181/0.1334, allocations: 0.5863 MB / 349.3 MB, free: 13.44 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.1334, allocations: 8 kB / 349.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.1334, allocations: 0 / 349.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003536/0.1338, allocations: 85 kB / 349.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004982/0.1343, allocations: 115.8 kB / 349.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.1364, allocations: 1.774 MB / 351.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/0.1367, allocations: 59.36 kB / 351.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/0.1367, allocations: 24 kB / 351.3 MB, free: 11.24 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (60): * Single equations (assignments): 59 * 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): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002317/0.137, allocations: 173.7 kB / 351.5 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.224e-05/0.1371, allocations: 27.7 kB / 351.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.1382, allocations: 0.559 MB / 352.1 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.1383, allocations: 7.938 kB / 352.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.1383, allocations: 0 / 352.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.1383, allocations: 7.984 kB / 352.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/0.1402, allocations: 1.169 MB / 353.3 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.1402, allocations: 4 kB / 353.3 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003555/0.1406, allocations: 87.83 kB / 353.3 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002905/0.1409, allocations: 80.86 kB / 353.4 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.1409, allocations: 8 kB / 353.4 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001906/0.1429, allocations: 1.775 MB / 355.2 MB, free: 7.121 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1429, allocations: 0 / 355.2 MB, free: 7.121 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.1444, allocations: 0.818 MB / 356 MB, free: 6.277 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.943e-05/0.1445, allocations: 124.6 kB / 356.1 MB, free: 6.137 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.244e-05/0.1446, allocations: 4 kB / 356.1 MB, free: 6.133 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002538/0.1448, allocations: 23.98 kB / 356.2 MB, free: 6.109 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.737e-05/0.1449, allocations: 36.33 kB / 356.2 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.969e-05/0.145, allocations: 20.06 kB / 356.2 MB, free: 6.055 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001522/0.1451, allocations: 147 kB / 356.4 MB, free: 5.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1452, allocations: 0 / 356.4 MB, free: 5.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005597/0.1457, allocations: 155.6 kB / 356.5 MB, free: 5.758 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (46): * Single equations (assignments): 45 * 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): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001963/0.1477, allocations: 1.394 MB / 357.9 MB, free: 4.328 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001329/0.149, allocations: 0.6126 MB / 358.5 MB, free: 3.703 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.149, allocations: 0 / 358.5 MB, free: 3.703 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006704/0.1497, allocations: 394 kB / 358.9 MB, free: 3.309 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.1501, allocations: 31.98 kB / 358.9 MB, free: 3.277 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005663/0.1558, allocations: 3.675 MB / 362.6 MB, free: 15.41 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005197/0.1564, allocations: 0.8172 MB / 363.4 MB, free: 14.56 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002397/0.1566, allocations: 55.25 kB / 363.5 MB, free: 14.51 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.1568, allocations: 143.4 kB / 363.6 MB, free: 14.37 MB / 318.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1568, allocations: 0 / 363.6 MB, free: 14.37 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05349/0.2103, allocations: 7.76 MB / 371.4 MB, free: 6.543 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.01/10.22, allocations: 19.73 kB / 371.4 MB, free: 6.523 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches