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.001287/0.001287, allocations: 113.3 kB / 17.28 MB, free: 6.047 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.001801/0.0018, allocations: 193.3 kB / 18.19 MB, free: 5.164 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.716/1.716, allocations: 205.1 MB / 224 MB, free: 12.48 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.001154/0.001154, allocations: 51.92 kB / 280.3 MB, free: 3.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.126, allocations: 46.63 MB / 326.9 MB, free: 4.703 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.0061/0.1322, allocations: 3.76 MB / 330.6 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00265/0.1348, allocations: 1.453 MB / 332.1 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002189/0.1351, allocations: 8 kB / 332.1 MB, free: 15.44 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001876/0.137, allocations: 0.7083 MB / 332.8 MB, free: 14.73 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.1384, allocations: 0.5251 MB / 333.3 MB, free: 14.2 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007956/0.1392, allocations: 394.8 kB / 333.7 MB, free: 13.82 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005294/0.1397, allocations: 485.8 kB / 334.2 MB, free: 13.34 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008023/0.1405, allocations: 0.51 MB / 334.7 MB, free: 12.83 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003034/0.1408, allocations: 227.1 kB / 334.9 MB, free: 12.61 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003139/0.1411, allocations: 294.8 kB / 335.2 MB, free: 12.32 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.214e-05/0.1412, allocations: 44 kB / 335.3 MB, free: 12.27 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004658/0.1417, allocations: 211.8 kB / 335.5 MB, free: 12.07 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.1418, allocations: 119.6 kB / 335.6 MB, free: 11.95 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002413/0.1421, allocations: 258.7 kB / 335.8 MB, free: 11.7 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008353/0.1429, allocations: 0.7009 MB / 336.5 MB, free: 10.99 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1429, allocations: 0 / 336.5 MB, free: 10.99 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.1429, allocations: 3.984 kB / 336.5 MB, free: 10.99 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.1429, allocations: 0 / 336.5 MB, free: 10.99 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.002301/0.1453, allocations: 0.9365 MB / 337.5 MB, free: 10 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.797e-05/0.1453, allocations: 8.031 kB / 337.5 MB, free: 9.996 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001678/0.1455, allocations: 107.9 kB / 337.6 MB, free: 9.879 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004079/0.1496, allocations: 0.5818 MB / 338.2 MB, free: 9.297 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000541/0.1501, allocations: 331.5 kB / 338.5 MB, free: 8.934 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.089e-05/0.1502, allocations: 41.69 kB / 338.5 MB, free: 8.895 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.1503, allocations: 60.12 kB / 338.6 MB, free: 8.836 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.1515, allocations: 0.5687 MB / 339.2 MB, free: 8.258 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/0.1515, allocations: 7.938 kB / 339.2 MB, free: 8.25 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.811e-05/0.1516, allocations: 20 kB / 339.2 MB, free: 8.23 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/0.1516, allocations: 12 kB / 339.2 MB, free: 8.219 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.1528, allocations: 0.6571 MB / 339.9 MB, free: 7.562 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003548/0.1564, allocations: 2.059 MB / 341.9 MB, free: 5.379 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00316/0.1596, allocations: 3.005 MB / 344.9 MB, free: 1.805 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005439/0.1601, allocations: 270.1 kB / 345.2 MB, free: 1.539 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000124/0.1603, allocations: 101.5 kB / 345.3 MB, free: 1.422 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.946e-05/0.1603, allocations: 38.94 kB / 345.3 MB, free: 1.371 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 3.377e-06/0.1603, allocations: 0 / 345.3 MB, free: 1.371 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.001919/0.1623, allocations: 0.7544 MB / 346.1 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.1623, allocations: 59.78 kB / 346.1 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.1625, allocations: 209 kB / 346.3 MB, free: 316 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.1626, allocations: 29.7 kB / 346.4 MB, free: 280 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.1627, allocations: 240.1 kB / 346.6 MB, free: 36 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.1629, allocations: 169.7 kB / 346.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.163, allocations: 90.16 kB / 346.9 MB, free: 15.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1632, allocations: 342.8 kB / 347.2 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002854/0.1635, allocations: 157 kB / 347.3 MB, free: 15.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000491/0.164, allocations: 283.7 kB / 347.6 MB, free: 14.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008442/0.1648, allocations: 482.2 kB / 348.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.1648, allocations: 0 / 348.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001221/0.1661, allocations: 0.5784 MB / 348.7 MB, free: 13.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.1661, allocations: 4 kB / 348.7 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.1661, allocations: 7.984 kB / 348.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004129/0.1665, allocations: 85.16 kB / 348.8 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000456/0.167, allocations: 119.8 kB / 348.9 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002121/0.1691, allocations: 1.774 MB / 350.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/0.1695, allocations: 55.42 kB / 350.7 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.215e-05/0.1695, allocations: 24 kB / 350.7 MB, free: 11.63 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.0002628/0.1698, allocations: 177.6 kB / 350.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.938e-05/0.1699, allocations: 23.72 kB / 350.9 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/0.1711, allocations: 0.5667 MB / 351.5 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.1711, allocations: 4 kB / 351.5 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.1711, allocations: 0 / 351.5 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.1711, allocations: 3.984 kB / 351.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001866/0.173, allocations: 1.173 MB / 352.7 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.173, allocations: 4 kB / 352.7 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000337/0.1734, allocations: 83.83 kB / 352.8 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002787/0.1736, allocations: 80.86 kB / 352.8 MB, free: 9.434 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/0.1737, allocations: 12 kB / 352.9 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/0.1756, allocations: 1.779 MB / 354.6 MB, free: 7.504 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1756, allocations: 80 / 354.6 MB, free: 7.504 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/0.177, allocations: 0.8141 MB / 355.5 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.07e-05/0.1771, allocations: 112.6 kB / 355.6 MB, free: 6.535 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.517e-05/0.1771, allocations: 11.98 kB / 355.6 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/0.1774, allocations: 20 kB / 355.6 MB, free: 6.504 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.1775, allocations: 40.44 kB / 355.6 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.278e-05/0.1775, allocations: 20 kB / 355.7 MB, free: 6.445 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001583/0.1777, allocations: 147 kB / 355.8 MB, free: 6.301 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1777, allocations: 0 / 355.8 MB, free: 6.301 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006232/0.1783, allocations: 151.6 kB / 355.9 MB, free: 6.152 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.001876/0.1802, allocations: 1.386 MB / 357.3 MB, free: 4.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001303/0.1815, allocations: 0.6165 MB / 357.9 MB, free: 4.102 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1815, allocations: 0 / 357.9 MB, free: 4.102 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005543/0.1821, allocations: 386.1 kB / 358.3 MB, free: 3.715 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.1825, allocations: 47.86 kB / 358.4 MB, free: 3.668 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005554/0.1881, allocations: 3.886 MB / 362.3 MB, free: 15.59 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000549/0.1887, allocations: 0.8133 MB / 363.1 MB, free: 14.75 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002588/0.189, allocations: 55.25 kB / 363.1 MB, free: 14.7 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002161/0.1892, allocations: 139.4 kB / 363.3 MB, free: 14.56 MB / 318.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1892, allocations: 0 / 363.3 MB, free: 14.56 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03898/0.2282, allocations: 7.656 MB / 370.9 MB, free: 6.887 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002997/0.2285, allocations: 263.6 kB / 371.2 MB, free: 6.621 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.205/2.433, allocations: 4 kB / 371.2 MB, free: 6.617 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches