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.001121/0.001121, allocations: 94.03 kB / 16.93 MB, free: 5.984 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.001032/0.001032, allocations: 180.1 kB / 17.82 MB, free: 5.652 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.445/1.445, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004914/0.0004916, allocations: 19.28 kB / 280.7 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1061, allocations: 47.58 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.003896/0.11, allocations: 3.012 MB / 331.3 MB, free: 1.062 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002612/0.1127, allocations: 1.361 MB / 332.7 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004488/0.1132, allocations: 12 kB / 332.7 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005613/0.1138, allocations: 127.3 kB / 332.8 MB, free: 15.56 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001493/0.1153, allocations: 478.6 kB / 333.3 MB, free: 15.09 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008554/0.1161, allocations: 350.9 kB / 333.6 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007531/0.1169, allocations: 335.3 kB / 334 MB, free: 14.42 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001384/0.1183, allocations: 0.6328 MB / 334.6 MB, free: 13.76 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004372/0.1187, allocations: 179.3 kB / 334.8 MB, free: 13.59 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003875/0.1191, allocations: 227.1 kB / 335 MB, free: 13.36 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.778e-05/0.1192, allocations: 27.94 kB / 335 MB, free: 13.34 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004445/0.1197, allocations: 155.8 kB / 335.2 MB, free: 13.18 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.366e-05/0.1198, allocations: 87.66 kB / 335.3 MB, free: 13.1 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.1199, allocations: 101.5 kB / 335.4 MB, free: 12.99 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006871/0.1206, allocations: 0.5183 MB / 335.9 MB, free: 12.47 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1206, allocations: 0 / 335.9 MB, free: 12.47 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1206, allocations: 0 / 335.9 MB, free: 12.47 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.1206, allocations: 0 / 335.9 MB, free: 12.47 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.002156/0.1228, allocations: 0.8349 MB / 336.7 MB, free: 11.59 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.1228, allocations: 12.03 kB / 336.7 MB, free: 11.58 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00404/0.1269, allocations: 0.5925 MB / 337.3 MB, free: 10.98 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004124/0.1273, allocations: 318.3 kB / 337.6 MB, free: 10.63 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.841e-05/0.1274, allocations: 37.31 kB / 337.7 MB, free: 10.6 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.1275, allocations: 67.84 kB / 337.7 MB, free: 10.53 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009725/0.1285, allocations: 0.5531 MB / 338.3 MB, free: 9.969 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.1285, allocations: 0 / 338.3 MB, free: 9.969 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.817e-05/0.1286, allocations: 24 kB / 338.3 MB, free: 9.945 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.1286, allocations: 16 kB / 338.3 MB, free: 9.93 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.1297, allocations: 0.6337 MB / 339 MB, free: 9.297 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003041/0.1328, allocations: 2.058 MB / 341 MB, free: 7.105 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002415/0.1352, allocations: 3.009 MB / 344 MB, free: 3.531 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.841e-05/0.1353, allocations: 85.55 kB / 344.1 MB, free: 3.43 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.1353, allocations: 42.98 kB / 344.2 MB, free: 3.379 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 1.653e-06/0.1354, allocations: 0 / 344.2 MB, free: 3.379 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.001836/0.1372, allocations: 0.8093 MB / 345 MB, free: 2.543 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.1372, allocations: 59.84 kB / 345 MB, free: 2.469 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.1374, allocations: 204.5 kB / 345.2 MB, free: 2.262 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.1375, allocations: 33.7 kB / 345.3 MB, free: 2.223 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.1376, allocations: 240 kB / 345.5 MB, free: 1.984 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.1378, allocations: 161.7 kB / 345.7 MB, free: 1.824 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.283e-05/0.1378, allocations: 12 kB / 345.7 MB, free: 1.812 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.1379, allocations: 342.8 kB / 346 MB, free: 1.469 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002895/0.1382, allocations: 165 kB / 346.2 MB, free: 1.309 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003702/0.1386, allocations: 273.9 kB / 346.4 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003359/0.1389, allocations: 200.8 kB / 346.6 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.139, allocations: 0 / 346.6 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009988/0.14, allocations: 0.59 MB / 347.2 MB, free: 208 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.14, allocations: 4 kB / 347.2 MB, free: 204 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.14, allocations: 4 kB / 347.2 MB, free: 200 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003528/0.1404, allocations: 105 kB / 347.3 MB, free: 92 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003926/0.1408, allocations: 99.94 kB / 347.4 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/0.1426, allocations: 1.886 MB / 349.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/0.1429, allocations: 51.44 kB / 349.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.52e-05/0.1429, allocations: 27.98 kB / 349.4 MB, free: 13.9 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001939/0.1431, allocations: 169.7 kB / 349.6 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.107e-05/0.1432, allocations: 23.72 kB / 349.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.1442, allocations: 0.5668 MB / 350.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.1442, allocations: 4 kB / 350.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1443, allocations: 7.953 kB / 350.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.1443, allocations: 3.984 kB / 350.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.1458, allocations: 1.157 MB / 351.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.1458, allocations: 0 / 351.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000311/0.1462, allocations: 75.91 kB / 351.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002435/0.1464, allocations: 84.8 kB / 351.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.455e-05/0.1465, allocations: 12 kB / 351.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001642/0.1481, allocations: 1.866 MB / 353.3 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1481, allocations: 0 / 353.3 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.1494, allocations: 0.8116 MB / 354.2 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.971e-05/0.1494, allocations: 116.7 kB / 354.3 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.189e-05/0.1495, allocations: 12 kB / 354.3 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.1497, allocations: 20.28 kB / 354.3 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.759e-05/0.1498, allocations: 40.36 kB / 354.3 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.1498, allocations: 8 kB / 354.4 MB, free: 8.672 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001185/0.15, allocations: 156.1 kB / 354.5 MB, free: 8.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.412e-06/0.15, allocations: 0 / 354.5 MB, free: 8.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005765/0.1505, allocations: 167.5 kB / 354.7 MB, free: 8.355 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002228/0.1508, allocations: 139.1 kB / 354.8 MB, free: 8.211 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009938/0.1518, allocations: 0.601 MB / 355.4 MB, free: 7.594 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1518, allocations: 0 / 355.4 MB, free: 7.594 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005252/0.1523, allocations: 381.8 kB / 355.8 MB, free: 7.211 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.1526, allocations: 28.12 kB / 355.8 MB, free: 7.184 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.154, allocations: 1.042 MB / 356.8 MB, free: 6.109 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.1544, allocations: 0.8292 MB / 357.7 MB, free: 5.258 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002141/0.1546, allocations: 51.27 kB / 357.7 MB, free: 5.211 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.703e-05/0.1547, allocations: 35.42 kB / 357.8 MB, free: 5.176 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1547, allocations: 0 / 357.8 MB, free: 5.176 MB / 302.1 MB Notification: Performance of Templates: time 0.007803/0.1625, allocations: 3.99 MB / 361.8 MB, free: 1.188 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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