Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009688/0.0009688, allocations: 99.69 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.001244/0.001244, allocations: 177 kB / 18.2 MB, free: 5.555 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.387/1.387, 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.0005203/0.0005203, allocations: 8 kB / 281.4 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1165, allocations: 47.58 MB / 329 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.004151/0.1207, allocations: 3.348 MB / 332.3 MB, free: 404 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002681/0.1234, allocations: 1.446 MB / 333.8 MB, free: 14.94 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002019/0.1236, allocations: 8 kB / 333.8 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000501/0.1241, allocations: 167.2 kB / 333.9 MB, free: 14.77 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001279/0.1254, allocations: 0.5097 MB / 334.4 MB, free: 14.26 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008069/0.1262, allocations: 390.9 kB / 334.8 MB, free: 13.88 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005144/0.1268, allocations: 473.8 kB / 335.3 MB, free: 13.41 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001235/0.128, allocations: 0.7272 MB / 336 MB, free: 12.66 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003088/0.1283, allocations: 183.2 kB / 336.2 MB, free: 12.48 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002983/0.1286, allocations: 250.8 kB / 336.4 MB, free: 12.23 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.561e-05/0.1287, allocations: 20 kB / 336.5 MB, free: 12.21 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004283/0.1291, allocations: 187.8 kB / 336.6 MB, free: 12.03 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.513e-05/0.1292, allocations: 83.61 kB / 336.7 MB, free: 11.95 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002076/0.1294, allocations: 248.4 kB / 337 MB, free: 11.7 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007682/0.1302, allocations: 0.662 MB / 337.6 MB, free: 11.03 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.1302, allocations: 0 / 337.6 MB, free: 11.03 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.1302, allocations: 4 kB / 337.6 MB, free: 11.03 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1302, allocations: 0 / 337.6 MB, free: 11.03 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.00205/0.1323, allocations: 0.8351 MB / 338.5 MB, free: 10.14 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.1324, allocations: 12.03 kB / 338.5 MB, free: 10.13 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004133/0.1365, allocations: 0.5934 MB / 339.1 MB, free: 9.539 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00053/0.1371, allocations: 319.6 kB / 339.4 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.615e-05/0.1371, allocations: 41.69 kB / 339.4 MB, free: 9.148 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.1372, allocations: 56.38 kB / 339.5 MB, free: 9.094 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.1383, allocations: 0.557 MB / 340 MB, free: 8.527 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/0.1383, allocations: 0 / 340 MB, free: 8.527 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.109e-05/0.1384, allocations: 24 kB / 340.1 MB, free: 8.504 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.1384, allocations: 19.94 kB / 340.1 MB, free: 8.484 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.1396, allocations: 0.6454 MB / 340.7 MB, free: 7.84 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003205/0.1428, allocations: 2.05 MB / 342.8 MB, free: 5.656 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003168/0.146, allocations: 3.017 MB / 345.8 MB, free: 2.074 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004136/0.1464, allocations: 230.1 kB / 346 MB, free: 1.848 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/0.1465, allocations: 85.55 kB / 346.1 MB, free: 1.746 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/0.1466, allocations: 35 kB / 346.1 MB, free: 1.703 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 3.797e-06/0.1466, allocations: 0 / 346.1 MB, free: 1.703 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.002157/0.1488, allocations: 0.8245 MB / 347 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.1488, allocations: 55.84 kB / 347 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.149, allocations: 208.4 kB / 347.2 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.1491, allocations: 29.7 kB / 347.2 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.1492, allocations: 248 kB / 347.5 MB, free: 296 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.1494, allocations: 169.5 kB / 347.7 MB, free: 124 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.619e-05/0.1494, allocations: 49.7 kB / 347.7 MB, free: 68 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1496, allocations: 338.8 kB / 348 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003078/0.1499, allocations: 165 kB / 348.2 MB, free: 15.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004049/0.1503, allocations: 277.9 kB / 348.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007724/0.1511, allocations: 480.5 kB / 348.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.1511, allocations: 0 / 348.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001052/0.1522, allocations: 0.5904 MB / 349.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.1522, allocations: 7.938 kB / 349.5 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.1522, allocations: 4 kB / 349.5 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003594/0.1526, allocations: 92.75 kB / 349.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003933/0.153, allocations: 115.8 kB / 349.7 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002125/0.1551, allocations: 1.846 MB / 351.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002919/0.1554, allocations: 59.36 kB / 351.6 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.398e-05/0.1555, allocations: 20 kB / 351.7 MB, free: 11.87 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 57 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002425/0.1557, allocations: 177.8 kB / 351.8 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.047e-05/0.1558, allocations: 27.7 kB / 351.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/0.1569, allocations: 0.559 MB / 352.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.1569, allocations: 8 kB / 352.4 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.1569, allocations: 0 / 352.4 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.157, allocations: 8.109 kB / 352.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001648/0.1586, allocations: 1.157 MB / 353.6 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1586, allocations: 3.938 kB / 353.6 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003151/0.1589, allocations: 79.89 kB / 353.7 MB, free: 9.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002671/0.1592, allocations: 88.81 kB / 353.8 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/0.1593, allocations: 8 kB / 353.8 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001862/0.1611, allocations: 1.854 MB / 355.6 MB, free: 7.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1612, allocations: 7.969 kB / 355.6 MB, free: 7.672 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.1625, allocations: 0.8077 MB / 356.4 MB, free: 6.844 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.725e-05/0.1626, allocations: 120.6 kB / 356.6 MB, free: 6.707 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.836e-05/0.1626, allocations: 8 kB / 356.6 MB, free: 6.699 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.1628, allocations: 20 kB / 356.6 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.699e-05/0.163, allocations: 40.44 kB / 356.6 MB, free: 6.641 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/0.163, allocations: 12 kB / 356.6 MB, free: 6.629 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001328/0.1631, allocations: 152.1 kB / 356.8 MB, free: 6.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1631, allocations: 0 / 356.8 MB, free: 6.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006476/0.1638, allocations: 159.5 kB / 356.9 MB, free: 6.324 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.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 (44): * Single equations (assignments): 43 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003007/0.1641, allocations: 139.1 kB / 357.1 MB, free: 6.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.1652, allocations: 0.601 MB / 357.7 MB, free: 5.566 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1652, allocations: 0 / 357.7 MB, free: 5.566 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005538/0.1658, allocations: 389.9 kB / 358.1 MB, free: 5.172 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.1662, allocations: 40.02 kB / 358.1 MB, free: 5.133 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.1679, allocations: 1.116 MB / 359.2 MB, free: 3.984 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004795/0.1684, allocations: 0.8136 MB / 360 MB, free: 3.148 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002294/0.1686, allocations: 55.25 kB / 360.1 MB, free: 3.098 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.207e-05/0.1687, allocations: 31.44 kB / 360.1 MB, free: 3.066 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1687, allocations: 0 / 360.1 MB, free: 3.066 MB / 302.1 MB Notification: Performance of Templates: time 0.009293/0.178, allocations: 4.103 MB / 364.2 MB, free: 14.96 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches