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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008973/0.0008973, allocations: 92.08 kB / 17.3 MB, free: 6.395 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.0007806/0.0007806, allocations: 172.7 kB / 18.2 MB, free: 5.551 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.431/1.431, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004944/0.0004948, allocations: 12 kB / 281.5 MB, free: 3.301 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1072, allocations: 47.57 MB / 329.1 MB, free: 3.656 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.005713/0.113, allocations: 4.876 MB / 333.9 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003329/0.1164, allocations: 1.45 MB / 335.4 MB, free: 13.29 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00119/0.1176, allocations: 27.81 kB / 335.4 MB, free: 13.27 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007701/0.1184, allocations: 158.6 kB / 335.6 MB, free: 13.11 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001212/0.1196, allocations: 150.7 kB / 335.7 MB, free: 12.96 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.121, allocations: 343.6 kB / 336 MB, free: 12.62 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001992/0.123, allocations: 1.064 MB / 337.1 MB, free: 11.56 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009284/0.124, allocations: 423.4 kB / 337.5 MB, free: 11.12 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007044/0.1247, allocations: 338.2 kB / 337.9 MB, free: 10.79 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006058/0.1253, allocations: 373.6 kB / 338.2 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001447/0.1255, allocations: 40 kB / 338.3 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002104/0.1257, allocations: 59.98 kB / 338.3 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.1258, allocations: 155.2 kB / 338.5 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005327/0.1264, allocations: 470.7 kB / 338.9 MB, free: 9.707 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.1275, allocations: 0.9999 MB / 339.9 MB, free: 8.703 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.1275, allocations: 3.938 kB / 339.9 MB, free: 8.699 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.627e-06/0.1275, allocations: 0 / 339.9 MB, free: 8.699 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.954e-05/0.1276, allocations: 0 / 339.9 MB, free: 8.699 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002252/0.1299, allocations: 1.13 MB / 341.1 MB, free: 7.516 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.1299, allocations: 12.03 kB / 341.1 MB, free: 7.504 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000211/0.1301, allocations: 148.2 kB / 341.2 MB, free: 7.352 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000287/0.1304, allocations: 126.4 kB / 341.3 MB, free: 7.227 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.1315, allocations: 0.6108 MB / 342 MB, free: 6.57 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.581e-05/0.1316, allocations: 81.88 kB / 342 MB, free: 6.492 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.1318, allocations: 99.91 kB / 342.1 MB, free: 6.395 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001889/0.1336, allocations: 1.031 MB / 343.2 MB, free: 5.238 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.369e-05/0.1337, allocations: 7.938 kB / 343.2 MB, free: 5.23 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-05/0.1338, allocations: 44 kB / 343.2 MB, free: 5.188 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.386e-05/0.1338, allocations: 28 kB / 343.2 MB, free: 5.16 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00181/0.1356, allocations: 0.5695 MB / 343.8 MB, free: 4.59 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005585/0.1412, allocations: 5.528 MB / 349.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005877/0.1418, allocations: 236.9 kB / 349.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000324/0.1422, allocations: 161.7 kB / 349.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001771/0.1424, allocations: 85.09 kB / 349.8 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/0.1424, allocations: 38.56 kB / 349.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 4.578e-06/0.1424, allocations: 0 / 349.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.004012/0.1464, allocations: 1.773 MB / 351.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.1465, allocations: 85.05 kB / 351.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007066/0.1472, allocations: 0.6333 MB / 352.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/0.1473, allocations: 37.7 kB / 352.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004615/0.1477, allocations: 0.6026 MB / 353 MB, free: 10.94 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.1479, allocations: 142 kB / 353.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.522e-05/0.148, allocations: 65.69 kB / 353.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.1481, allocations: 382.8 kB / 353.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003235/0.1485, allocations: 165.9 kB / 353.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005285/0.149, allocations: 0.4932 MB / 354.2 MB, free: 9.523 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.15, allocations: 0.7144 MB / 354.9 MB, free: 8.648 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.1501, allocations: 4 kB / 354.9 MB, free: 8.645 MB / 302.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001331/0.1514, allocations: 0.7307 MB / 355.7 MB, free: 7.906 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.1514, allocations: 8 kB / 355.7 MB, free: 7.898 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.1515, allocations: 12 kB / 355.7 MB, free: 7.887 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.093e-05/0.1515, allocations: 19.98 kB / 355.7 MB, free: 7.867 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006257/0.1521, allocations: 204.2 kB / 355.9 MB, free: 7.668 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.704e-05/0.1522, allocations: 27.86 kB / 355.9 MB, free: 7.641 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003327/0.1525, allocations: 39.98 kB / 356 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.535e-05/0.1526, allocations: 40 kB / 356 MB, free: 7.562 MB / 302.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.0003014/0.1529, allocations: 221.5 kB / 356.2 MB, free: 7.336 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.153, allocations: 75.06 kB / 356.3 MB, free: 7.262 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001417/0.1532, allocations: 82.53 kB / 356.4 MB, free: 7.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.1532, allocations: 7.938 kB / 356.4 MB, free: 7.172 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.1532, allocations: 0 / 356.4 MB, free: 7.172 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.1532, allocations: 3.984 kB / 356.4 MB, free: 7.168 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002234/0.1554, allocations: 1.353 MB / 357.7 MB, free: 5.742 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1555, allocations: 8.156 kB / 357.7 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000466/0.1559, allocations: 111.9 kB / 357.9 MB, free: 5.625 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.1559, allocations: 0 / 357.9 MB, free: 5.625 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/0.156, allocations: 11.94 kB / 357.9 MB, free: 5.613 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.156, allocations: 7.984 kB / 357.9 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.156, allocations: 4 kB / 357.9 MB, free: 5.602 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.1571, allocations: 0.7281 MB / 358.6 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.1572, allocations: 152 kB / 358.8 MB, free: 4.672 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.479e-05/0.1573, allocations: 15.97 kB / 358.8 MB, free: 4.656 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002881/0.1576, allocations: 27.98 kB / 358.8 MB, free: 4.629 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.562e-05/0.1577, allocations: 27.91 kB / 358.8 MB, free: 4.602 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.373e-05/0.1577, allocations: 15.98 kB / 358.8 MB, free: 4.586 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005005/0.1582, allocations: 423 kB / 359.3 MB, free: 4.176 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1583, allocations: 0 / 359.3 MB, free: 4.176 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006602/0.1589, allocations: 140 kB / 359.4 MB, free: 4.039 MB / 302.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.001282/0.1602, allocations: 1.273 MB / 360.7 MB, free: 2.719 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008087/0.161, allocations: 449.6 kB / 361.1 MB, free: 2.281 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.161, allocations: 0 / 361.1 MB, free: 2.281 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000311/0.1614, allocations: 169.7 kB / 361.3 MB, free: 2.117 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007112/0.1621, allocations: 71.3 kB / 361.3 MB, free: 2.051 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008818/0.1709, allocations: 6.922 MB / 368.3 MB, free: 10.64 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006636/0.1716, allocations: 0.9998 MB / 369.3 MB, free: 9.617 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000343/0.172, allocations: 94.02 kB / 369.3 MB, free: 9.523 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004823/0.1725, allocations: 387.3 kB / 369.7 MB, free: 9.145 MB / 318.1 MB Notification: Performance of SimCode: time 3.046e-06/0.1725, allocations: 0 / 369.7 MB, free: 9.145 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1842/0.3567, allocations: 10.8 MB / 380.5 MB, free: 51.38 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000145/0.3569, allocations: 204.9 kB / 380.7 MB, free: 51.12 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.977/2.334, allocations: 3.719 kB / 380.7 MB, free: 51.12 MB / 318.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ResonanceCircuits_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ResonanceCircuits.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches