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: translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits") translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 106.2 kB / 18.24 MB, free: 4.77 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.001318/0.001318, allocations: 195.3 kB / 19.18 MB, free: 3.84 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.531/1.531, allocations: 205.1 MB / 225 MB, free: 12.31 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.0013/0.0013, allocations: 52.14 kB / 281.3 MB, free: 3.18 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1072, allocations: 46.63 MB / 328 MB, free: 4.477 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.006736/0.114, allocations: 5.344 MB / 333.3 MB, free: 15.09 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003071/0.1171, allocations: 1.466 MB / 334.8 MB, free: 13.62 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005348/0.1177, allocations: 27.81 kB / 334.8 MB, free: 13.59 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004863/0.1182, allocations: 217.8 kB / 335 MB, free: 13.38 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005674/0.1188, allocations: 194 kB / 335.2 MB, free: 13.19 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008169/0.1196, allocations: 399.4 kB / 335.6 MB, free: 12.8 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001162/0.1208, allocations: 1.111 MB / 336.7 MB, free: 11.68 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006907/0.1215, allocations: 484.2 kB / 337.2 MB, free: 11.19 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004842/0.122, allocations: 390.3 kB / 337.5 MB, free: 10.81 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004439/0.1224, allocations: 441.5 kB / 338 MB, free: 10.38 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.1226, allocations: 84 kB / 338.1 MB, free: 10.29 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001957/0.1228, allocations: 96 kB / 338.2 MB, free: 10.2 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.1229, allocations: 211.1 kB / 338.4 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004196/0.1234, allocations: 0.4932 MB / 338.9 MB, free: 9.496 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001055/0.1244, allocations: 1.125 MB / 340 MB, free: 8.367 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1245, allocations: 0 / 340 MB, free: 8.367 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1245, allocations: 0 / 340 MB, free: 8.367 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.514e-05/0.1245, allocations: 0 / 340 MB, free: 8.367 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.001964/0.1265, allocations: 1.309 MB / 341.3 MB, free: 7.004 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.1265, allocations: 15.89 kB / 341.3 MB, free: 6.988 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.1267, allocations: 126.5 kB / 341.4 MB, free: 6.863 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008388/0.1275, allocations: 0.6068 MB / 342 MB, free: 6.215 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.158e-05/0.1276, allocations: 81.92 kB / 342.1 MB, free: 6.137 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.1277, allocations: 100 kB / 342.2 MB, free: 6.039 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/0.1293, allocations: 1.031 MB / 343.2 MB, free: 4.883 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.845e-05/0.1293, allocations: 3.938 kB / 343.2 MB, free: 4.879 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.2e-05/0.1294, allocations: 48 kB / 343.3 MB, free: 4.832 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.6e-05/0.1295, allocations: 28 kB / 343.3 MB, free: 4.805 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.1305, allocations: 0.5539 MB / 343.9 MB, free: 4.246 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004934/0.1355, allocations: 5.524 MB / 349.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005768/0.1361, allocations: 236.9 kB / 349.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003196/0.1364, allocations: 165.6 kB / 349.8 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002337/0.1367, allocations: 85.09 kB / 349.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.1367, allocations: 42.56 kB / 349.9 MB, free: 13.86 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 2.846e-06/0.1367, allocations: 0 / 349.9 MB, free: 13.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.00397/0.1407, allocations: 1.7 MB / 351.6 MB, free: 12.06 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/0.1408, allocations: 89.05 kB / 351.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007111/0.1415, allocations: 0.6294 MB / 352.3 MB, free: 11.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/0.1415, allocations: 33.7 kB / 352.4 MB, free: 11.28 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004763/0.142, allocations: 0.5987 MB / 353 MB, free: 10.67 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.1421, allocations: 149.9 kB / 353.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/0.1423, allocations: 134.5 kB / 353.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1425, allocations: 386.8 kB / 353.6 MB, free: 9.996 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002961/0.1428, allocations: 153.9 kB / 353.8 MB, free: 9.848 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005277/0.1433, allocations: 0.4893 MB / 354.3 MB, free: 9.195 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008631/0.1442, allocations: 0.6992 MB / 355 MB, free: 8.336 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.1442, allocations: 8 kB / 355 MB, free: 8.328 MB / 302.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0011/0.1453, allocations: 0.7154 MB / 355.7 MB, free: 7.605 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.1454, allocations: 8 kB / 355.7 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.1454, allocations: 12 kB / 355.7 MB, free: 7.586 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.944e-05/0.1454, allocations: 16 kB / 355.7 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006208/0.146, allocations: 191.7 kB / 355.9 MB, free: 7.383 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.709e-05/0.1461, allocations: 31.8 kB / 355.9 MB, free: 7.352 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003468/0.1464, allocations: 36.23 kB / 356 MB, free: 7.316 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-05/0.1465, allocations: 40 kB / 356 MB, free: 7.277 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.0002887/0.1468, allocations: 225.5 kB / 356.2 MB, free: 7.047 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.1469, allocations: 75.06 kB / 356.3 MB, free: 6.973 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/0.147, allocations: 74.53 kB / 356.4 MB, free: 6.895 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.852e-06/0.147, allocations: 4 kB / 356.4 MB, free: 6.891 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.1471, allocations: 11.88 kB / 356.4 MB, free: 6.879 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.1471, allocations: 3.984 kB / 356.4 MB, free: 6.875 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001945/0.149, allocations: 1.326 MB / 357.7 MB, free: 5.477 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.149, allocations: 3.984 kB / 357.7 MB, free: 5.473 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004615/0.1495, allocations: 95.88 kB / 357.8 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/0.1495, allocations: 4.156 kB / 357.8 MB, free: 5.375 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/0.1496, allocations: 19.98 kB / 357.8 MB, free: 5.355 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.644e-06/0.1496, allocations: 11.92 kB / 357.9 MB, free: 5.344 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1496, allocations: 0 / 357.9 MB, free: 5.344 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009646/0.1506, allocations: 0.712 MB / 358.6 MB, free: 4.602 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.1507, allocations: 140.2 kB / 358.7 MB, free: 4.445 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.49e-05/0.1508, allocations: 12 kB / 358.7 MB, free: 4.434 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002943/0.1511, allocations: 27.92 kB / 358.7 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.387e-05/0.1512, allocations: 35.89 kB / 358.8 MB, free: 4.371 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.1512, allocations: 12 kB / 358.8 MB, free: 4.359 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004662/0.1517, allocations: 419 kB / 359.2 MB, free: 3.953 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1517, allocations: 0 / 359.2 MB, free: 3.953 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006443/0.1523, allocations: 140 kB / 359.3 MB, free: 3.816 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.0001565/0.1525, allocations: 115.2 kB / 359.4 MB, free: 3.691 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008145/0.1533, allocations: 441.6 kB / 359.9 MB, free: 3.262 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1533, allocations: 0 / 359.9 MB, free: 3.262 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002782/0.1536, allocations: 163.9 kB / 360 MB, free: 3.102 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005389/0.1541, allocations: 75.42 kB / 360.1 MB, free: 3.035 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002643/0.1568, allocations: 1.704 MB / 361.8 MB, free: 1.277 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005652/0.1574, allocations: 1.012 MB / 362.8 MB, free: 244 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.1575, allocations: 67.41 kB / 362.9 MB, free: 176 kB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1576, allocations: 0 / 362.9 MB, free: 176 kB / 302.1 MB Notification: Performance of Templates: time 0.01358/0.1711, allocations: 9.214 MB / 372.1 MB, free: 6.945 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile (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 & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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","/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) Reference file matches