Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.001537/0.001537, allocations: 112.9 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.001495/0.001495, allocations: 208.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.737/1.737, allocations: 207.6 MB / 231.8 MB, free: 4.055 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.ResonanceCircuits,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ResonanceCircuits",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ResonanceCircuits,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ResonanceCircuits",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.001778/0.001778, allocations: 52.41 kB / 342.3 MB, free: 10.07 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1061, allocations: 49.12 MB / 391.4 MB, free: 8.785 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.006965/0.1131, allocations: 5.365 MB / 396.8 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003198/0.1163, allocations: 1.477 MB / 398.3 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006814/0.117, allocations: 39.62 kB / 398.3 MB, free: 1.875 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00054/0.1175, allocations: 221.8 kB / 398.5 MB, free: 1.656 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007166/0.1182, allocations: 190 kB / 398.7 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009665/0.1192, allocations: 399.4 kB / 399.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001619/0.1208, allocations: 1.126 MB / 400.2 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006725/0.1215, allocations: 340.5 kB / 400.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007569/0.1223, allocations: 410.3 kB / 401 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005901/0.1228, allocations: 437.4 kB / 401.4 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001451/0.123, allocations: 84 kB / 401.5 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002259/0.1232, allocations: 92 kB / 401.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002178/0.1234, allocations: 211.2 kB / 401.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005044/0.1239, allocations: 0.5009 MB / 402.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001561/0.1255, allocations: 1.178 MB / 403.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1255, allocations: 0 / 403.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1255, allocations: 0 / 403.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.524e-05/0.1255, allocations: 0 / 403.5 MB, free: 12.69 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.00236/0.1279, allocations: 1.343 MB / 404.8 MB, free: 11.3 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.851e-05/0.128, allocations: 8.031 kB / 404.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002012/0.1282, allocations: 152.2 kB / 405 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002365/0.1284, allocations: 131.2 kB / 405.1 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.1296, allocations: 0.6581 MB / 405.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.602e-05/0.1296, allocations: 77.94 kB / 405.8 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/0.1298, allocations: 99.95 kB / 405.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00203/0.1318, allocations: 1.031 MB / 406.9 MB, free: 8.973 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.634e-05/0.1319, allocations: 7.938 kB / 407 MB, free: 8.965 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.855e-05/0.132, allocations: 44 kB / 407 MB, free: 8.922 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.909e-05/0.132, allocations: 27.94 kB / 407 MB, free: 8.895 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/0.1333, allocations: 0.55 MB / 407.6 MB, free: 8.348 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006177/0.1395, allocations: 5.51 MB / 413.1 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006517/0.1402, allocations: 228.9 kB / 413.3 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003578/0.1405, allocations: 145.6 kB / 413.4 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001545/0.1407, allocations: 89.09 kB / 413.5 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.1407, allocations: 34.56 kB / 413.6 MB, free: 2.012 MB / 334.1 MB Notification: Performance of pre-optimization done (n=28): time 2.264e-06/0.1407, allocations: 4 kB / 413.6 MB, free: 2.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.004454/0.1452, allocations: 1.744 MB / 415.3 MB, free: 164 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.883e-05/0.1452, allocations: 89.05 kB / 415.4 MB, free: 56 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008848/0.1461, allocations: 0.6334 MB / 416 MB, free: 15.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/0.1462, allocations: 33.7 kB / 416.1 MB, free: 15.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004895/0.1467, allocations: 0.6162 MB / 416.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.1468, allocations: 154.7 kB / 416.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001997/0.147, allocations: 134.6 kB / 417 MB, free: 14.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000231/0.1472, allocations: 386.8 kB / 417.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003514/0.1476, allocations: 149.9 kB / 417.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006793/0.1483, allocations: 0.4932 MB / 418 MB, free: 13.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.1493, allocations: 0.6997 MB / 418.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/0.1493, allocations: 4 kB / 418.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001361/0.1507, allocations: 0.7154 MB / 419.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.1507, allocations: 8 kB / 419.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/0.1508, allocations: 12 kB / 419.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.021e-05/0.1508, allocations: 16.75 kB / 419.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006797/0.1515, allocations: 199.7 kB / 419.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.201e-05/0.1515, allocations: 27.86 kB / 419.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003937/0.1519, allocations: 31.98 kB / 419.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.288e-05/0.1519, allocations: 47.92 kB / 419.7 MB, free: 11.34 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (96): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003725/0.1523, allocations: 225.5 kB / 420 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.1524, allocations: 79.48 kB / 420 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001378/0.1526, allocations: 78.53 kB / 420.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.1526, allocations: 7.938 kB / 420.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1526, allocations: 4 kB / 420.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.1526, allocations: 3.984 kB / 420.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00237/0.155, allocations: 1.317 MB / 421.4 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/0.155, allocations: 4 kB / 421.5 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005147/0.1555, allocations: 99.86 kB / 421.5 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.398e-06/0.1555, allocations: 8.094 kB / 421.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.093e-05/0.1555, allocations: 19.98 kB / 421.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.1555, allocations: 0 / 421.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/0.1556, allocations: 4 kB / 421.6 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.1567, allocations: 0.705 MB / 422.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/0.1569, allocations: 144.6 kB / 422.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.132e-05/0.157, allocations: 12 kB / 422.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003102/0.1573, allocations: 23.98 kB / 422.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.289e-05/0.1573, allocations: 32 kB / 422.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.649e-05/0.1574, allocations: 19.92 kB / 422.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005456/0.1579, allocations: 419 kB / 422.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1579, allocations: 0 / 422.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007198/0.1586, allocations: 136 kB / 423.1 MB, free: 7.898 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (inductor2.i,capacitor2.v,inductor1.i,capacitor1.v) * 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 (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001536/0.1602, allocations: 1.266 MB / 424.3 MB, free: 6.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009781/0.1612, allocations: 414.2 kB / 424.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.1612, allocations: 0 / 424.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003125/0.1615, allocations: 158.2 kB / 424.9 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006099/0.1621, allocations: 63.94 kB / 424.9 MB, free: 5.969 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00984/0.1719, allocations: 6.12 MB / 431.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006589/0.1726, allocations: 1.008 MB / 432.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002736/0.1729, allocations: 90.02 kB / 432.2 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004771/0.1733, allocations: 391.3 kB / 432.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of SimCode: time 9.81e-07/0.1733, allocations: 3.938 kB / 432.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05217/0.2255, allocations: 11.74 MB / 444.3 MB, free: 2.047 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.864/9.09, allocations: 11.91 kB / 444.3 MB, free: 2.035 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ResonanceCircuits.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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: 12.251806050990126]