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.001619/0.001619, allocations: 107.4 kB / 17.16 MB, free: 6.305 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.001992/0.001993, allocations: 198 kB / 18.07 MB, free: 5.41 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.683/1.683, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001869/0.001869, allocations: 43.94 kB / 280.1 MB, free: 3.508 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1171, allocations: 46.63 MB / 326.7 MB, free: 4.812 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.00665/0.1238, allocations: 5.339 MB / 332 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003197/0.127, allocations: 1.458 MB / 333.5 MB, free: 13.97 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009982/0.128, allocations: 27.88 kB / 333.5 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004968/0.1286, allocations: 166.6 kB / 333.7 MB, free: 13.78 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005144/0.1291, allocations: 154.6 kB / 333.8 MB, free: 13.63 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007416/0.1298, allocations: 339.7 kB / 334.2 MB, free: 13.3 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009647/0.1308, allocations: 1.064 MB / 335.2 MB, free: 12.23 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006159/0.1314, allocations: 427.4 kB / 335.6 MB, free: 11.79 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003623/0.1318, allocations: 366.2 kB / 336 MB, free: 11.43 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003569/0.1322, allocations: 421.5 kB / 336.4 MB, free: 11.02 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.103e-05/0.1323, allocations: 56 kB / 336.5 MB, free: 10.96 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001633/0.1324, allocations: 79.98 kB / 336.5 MB, free: 10.89 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002085/0.1327, allocations: 187.1 kB / 336.7 MB, free: 10.7 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003768/0.133, allocations: 481 kB / 337.2 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009159/0.134, allocations: 1.031 MB / 338.2 MB, free: 9.195 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.134, allocations: 0 / 338.2 MB, free: 9.195 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.134, allocations: 0 / 338.2 MB, free: 9.195 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.134, allocations: 0 / 338.2 MB, free: 9.195 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.001988/0.136, allocations: 1.305 MB / 339.5 MB, free: 7.836 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.442e-05/0.1361, allocations: 12.03 kB / 339.5 MB, free: 7.824 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001663/0.1363, allocations: 152.2 kB / 339.7 MB, free: 7.668 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001754/0.1364, allocations: 122.5 kB / 339.8 MB, free: 7.547 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000997/0.1374, allocations: 0.6224 MB / 340.4 MB, free: 6.879 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.589e-05/0.1375, allocations: 73.94 kB / 340.5 MB, free: 6.809 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/0.1377, allocations: 104 kB / 340.6 MB, free: 6.707 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/0.1393, allocations: 1.027 MB / 341.6 MB, free: 5.555 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.17e-05/0.1394, allocations: 11.94 kB / 341.6 MB, free: 5.543 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.455e-05/0.1395, allocations: 48 kB / 341.7 MB, free: 5.496 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.549e-05/0.1395, allocations: 28 kB / 341.7 MB, free: 5.469 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.1406, allocations: 0.55 MB / 342.3 MB, free: 4.918 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005415/0.1461, allocations: 5.516 MB / 347.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005384/0.1466, allocations: 236.9 kB / 348 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002991/0.1469, allocations: 161.6 kB / 348.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002235/0.1472, allocations: 85.09 kB / 348.3 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.87e-05/0.1473, allocations: 38.56 kB / 348.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 2.014e-06/0.1473, allocations: 0 / 348.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003905/0.1512, allocations: 1.704 MB / 350 MB, free: 12.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.256e-05/0.1513, allocations: 85.05 kB / 350.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007433/0.152, allocations: 0.6372 MB / 350.7 MB, free: 12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.1521, allocations: 33.7 kB / 350.8 MB, free: 11.96 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003853/0.1524, allocations: 0.6026 MB / 351.4 MB, free: 11.35 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.653e-05/0.1526, allocations: 149.9 kB / 351.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.1527, allocations: 130.5 kB / 351.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.1529, allocations: 390.7 kB / 352 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003011/0.1532, allocations: 145.9 kB / 352.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005791/0.1538, allocations: 0.4933 MB / 352.6 MB, free: 9.875 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009304/0.1547, allocations: 0.6959 MB / 353.3 MB, free: 9.016 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.1547, allocations: 4 kB / 353.3 MB, free: 9.012 MB / 302.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001116/0.1559, allocations: 0.7117 MB / 354.1 MB, free: 8.293 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.1559, allocations: 8 kB / 354.1 MB, free: 8.285 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.1559, allocations: 12 kB / 354.1 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.63e-05/0.1559, allocations: 20.03 kB / 354.1 MB, free: 8.254 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000613/0.1566, allocations: 199.6 kB / 354.3 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.169e-05/0.1566, allocations: 23.94 kB / 354.3 MB, free: 8.035 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003196/0.1569, allocations: 31.98 kB / 354.3 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-05/0.157, allocations: 39.94 kB / 354.4 MB, free: 7.965 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.0002757/0.1573, allocations: 233.5 kB / 354.6 MB, free: 7.727 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.1574, allocations: 75.06 kB / 354.7 MB, free: 7.652 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.1575, allocations: 74.53 kB / 354.8 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.1575, allocations: 7.938 kB / 354.8 MB, free: 7.566 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.1575, allocations: 4 kB / 354.8 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.1575, allocations: 7.984 kB / 354.8 MB, free: 7.555 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/0.1594, allocations: 1.325 MB / 356.1 MB, free: 6.156 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1595, allocations: 0 / 356.1 MB, free: 6.156 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004538/0.1599, allocations: 103.9 kB / 356.2 MB, free: 6.055 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.1599, allocations: 4 kB / 356.2 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.16, allocations: 11.94 kB / 356.2 MB, free: 6.039 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.16, allocations: 4 kB / 356.2 MB, free: 6.035 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.16, allocations: 7.875 kB / 356.2 MB, free: 6.027 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009534/0.1609, allocations: 0.7082 MB / 356.9 MB, free: 5.289 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.1611, allocations: 140.2 kB / 357.1 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.789e-05/0.1611, allocations: 11.94 kB / 357.1 MB, free: 5.121 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002742/0.1614, allocations: 23.98 kB / 357.1 MB, free: 5.098 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.436e-05/0.1615, allocations: 27.95 kB / 357.1 MB, free: 5.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.1615, allocations: 16 kB / 357.2 MB, free: 5.055 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004099/0.1619, allocations: 427 kB / 357.6 MB, free: 4.641 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1619, allocations: 0 / 357.6 MB, free: 4.641 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005614/0.1625, allocations: 140 kB / 357.7 MB, free: 4.504 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.001232/0.1637, allocations: 1.242 MB / 359 MB, free: 3.215 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007117/0.1644, allocations: 447.3 kB / 359.4 MB, free: 2.785 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1645, allocations: 0 / 359.4 MB, free: 2.785 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002485/0.1647, allocations: 155.7 kB / 359.5 MB, free: 2.633 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005046/0.1652, allocations: 72.17 kB / 359.6 MB, free: 2.566 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007835/0.1731, allocations: 6.782 MB / 366.4 MB, free: 11.3 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005801/0.1737, allocations: 1.004 MB / 367.4 MB, free: 10.27 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002767/0.174, allocations: 94.02 kB / 367.5 MB, free: 10.17 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004231/0.1744, allocations: 387.3 kB / 367.9 MB, free: 9.793 MB / 318.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1744, allocations: 0 / 367.9 MB, free: 9.793 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4195/0.5939, allocations: 10.93 MB / 378.8 MB, free: 51.83 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001484/0.5941, allocations: 211.7 kB / 379 MB, free: 51.58 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.016/3.61, allocations: 3.938 kB / 379 MB, free: 51.57 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